A_D
1928379571
Removed broken link, fixed interpolation key name
...
Broken link didn't appear to add any further information as per
discussion in PR
2020-07-10 23:44:56 +02:00
A_D
c4abe6b3ca
Replaced missed modulo formatting
2020-07-10 06:01:47 +02:00
A_D
a6e6b6353d
Tidied regexp
...
Python regexps should always be held in r'' or raw strings, ensuring
that python doesn't try to expand the regexp escapes.
I also removed the escaped -, as they're only special characters in
character groups
2020-07-10 06:01:47 +02:00
A_D
be9ac29a5b
Replaced for x in $list with $tuple
...
Tuples are static and smaller memory wise
2020-07-10 06:01:47 +02:00
A_D
87ad0f3080
Replaced or magic with multiline if
...
Abusing ors for that is incredibly confusing.
Additionally, I replaced the .join() call with a static .format call, as
the join is confusing for no reason
2020-07-10 06:01:46 +02:00
A_D
82fce9e8c0
Replaced modulo string interpolation with .format
...
.format is newer and easier to read
2020-07-10 06:01:46 +02:00
A_D
9581ead7cc
Fixed inline comments using tabs for separation
...
Two spaces after tabs, according to flake8
2020-07-10 06:01:45 +02:00
A_D
7879a803e1
Replaced bare except clauses with except Exception
...
Catching SystemExit and KeyboardInterrupt is bad.
2020-07-10 06:01:45 +02:00
A_D
11df049d0c
Added line breaks where logical
...
Line breaks after scope change helps to wrap your head around code
2020-07-10 06:01:44 +02:00
A_D
b2ae2c1ecf
Removed oneliners
...
Oneline ifs are against pep8 and are a pain to read.
2020-07-10 06:01:44 +02:00
A_D
5df8ce36b7
Cleaned class_rating closure
...
This replaces a bunch of repeated string concats with a single string
concat and string interpolation. It also does a little bit of type
hinting as I needed to see what was used where
2020-07-10 06:01:44 +02:00
Athanasius
e51b4f5c68
Cleanup of EDMC.py and related code. All flags tested.
...
Mostly the usual file-mode versus .encode('utf-8') tweaks, but also
one list() needed around a <dict>.values().
2019-09-26 11:40:42 +01:00
Athanasius
e9931aa348
Initial work on getting the EDMC.py CLI to work under python3
...
*) Fix up print usage
*) cPickle -> cpickle
*) "EDMC.py -p <cmdr name>" appears to have never been properly
updated for multi-account support.
2019-09-26 11:40:42 +01:00
Jonathan Harris
9ced79f077
Add 3.1 ships and modules
2018-07-08 01:04:04 +01:00
Jonathan Harris
0eaa61bdd9
Make system and station info websites configurable
2018-04-03 01:03:07 +01:00
Jonathan Harris
b102b8c5b8
Sanitise ship loadout file names
...
Fixes #303
2018-03-18 11:48:04 +00:00
Jonathan Harris
88f323d36e
Switch EDShipyard import to Loadout event
2018-02-18 02:38:30 +00:00
Jonathan Harris
44f3025cc6
Handle non-ASCII Cmdr and ship names in command-line output
2017-11-17 18:38:59 +00:00
Jonathan Harris
0f147e516e
Add ship name to EDShipyard export
2017-10-31 10:58:14 +00:00
Jonathan Harris
21e8b2ffee
Account for engineers' mods in calculating mass and jump range
2017-09-05 19:04:58 +01:00
Jonathan Harris
6ffcfc74a1
Send 2.4-style mod info to EDShipyard and Coriolis
2017-08-24 19:36:49 +01:00
Jonathan Harris
efc1cb33b6
Use new Beta universe Companion API server.
2017-06-16 18:22:00 +01:00
Jonathan Harris
1802ffb31c
Handle removal of fuel and cargo capacity from API
2017-04-12 01:00:53 +01:00
Jonathan Harris
0b486ae627
Add Module Reinforcement Package in E:D 2.2.03
2017-01-12 19:56:49 +00:00
Jonathan Harris
1f6a5883b7
Support Coriolis as an option for Ship link
...
Also switch to common loadout format with E:D Shipyard.
2016-11-22 00:52:30 +00:00
Jonathan Harris
170d1435fb
Default loadout format is now Companion API json
2016-11-20 00:35:39 +00:00
Jonathan Harris
f790468078
Move functions that manipulate API output
2016-11-19 17:21:39 +00:00
Jonathan Harris
3088073b46
Use more compact URL-safe Base64 encoding
2016-11-11 17:23:11 +00:00
Andreas Gocht
fc1ae2bee4
Fix a bug in edshipyard.py
...
When refreshing data at a station, I got an error that the global variable querytime was not defined.
It looks like querytime should be defined a few lines further down than it actually was, because where it was it didn't do anything. Everything worked fine after this fix.
2016-11-11 16:22:25 +00:00
Jonathan Harris
25d98470b2
Add Ship field to main Window
...
Send clicks to current loadout on E:D Shipyard.
2016-11-09 01:15:44 +00:00
Jonathan Harris
633edd5381
Fix for offline collation
2016-10-26 02:19:16 +01:00
Jonathan Harris
b99060a451
Export detailed module info to EDShipyard
...
Including priorities and mods.
2016-10-26 01:43:44 +01:00