1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

18 Commits

Author SHA1 Message Date
David Sangrey
fe8818d187
[2114] Apply PathLib Handover 2024-06-10 17:21:06 -04:00
Athanasius
56f016604c Fix market CSV output filenames format
I must have had a brainfart when refactoring this, leaving the trailing
commas when I split this out into multi-statement rather than one big
f-string.
2021-05-19 00:00:54 +01:00
Athanasius
ce920a170f commodity.py: Make the structure passed to a join() easier to read 2021-04-12 08:31:48 +01:00
Athanasius
f3383858c3 commodity.py: Use 'with' for output file. 2021-04-12 08:31:48 +01:00
Athanasius
5cc80174d2 commodity.py: Fix flake8 lints 2021-04-12 08:31:48 +01:00
Athanasius
ad8c63c64c Move util_ships.py ship_map to data.py ship_name_map
Also refactors data.py to edmc_data.py as I'm having weird issues with
PyCharm debugger not starting, and this seems to be to do with module
name clashes.
2021-04-12 08:31:47 +01:00
Athanasius
5d289454a9 Move commodity.py bracketmap into data.py 2021-04-12 08:31:46 +01:00
A_D
278480b99f replaced ors with defaults in config usage 2021-04-01 14:45:46 +01:00
Athanasius
25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
Athanasius
65086be1cd Remove last traces of 'BPC' output code
close #576
2020-07-10 10:25:08 +01:00
Athanasius
ef3306e3f5 Remove all use of defunct 'anonymous' option
The UI for setting the 'anonymous' option was removed in
f17f5d3f257e2359d4728ce8c296d70dc5e7609f ("PKCE OAuth2 access to cAPI").
Since then there's been no way for a user to set, or unset, this option
(and the associated custom uploaderID).  However anyone with the registry keys
still set would have had them take effect.

This commit removes the last bits of code that were making use of it.

Note that the EDDN Relay anonymises all uploaderID values, so no listener
has been seeing the 'raw' values for a long time now.

close #575
2020-07-10 08:36:13 +01:00
A_D
76e561d231
Cleanup commodity.py (PEP8, code simplification)
I removed most of the overly complex oneliners for equivalent multi-line
constructs. The code behaviour should remain the same.

Otherwise mostly reformatting happened here, spaces after commas, that
sort of thing.
2020-07-06 18:30:23 +02:00
Athanasius
08e5b6ff6a Fixes generation of market CSV files 2019-09-26 11:40:41 +01:00
Jonathan Harris
6c254f4bcd Get timestamp for cAPI-derived data from cAPI server
Fixes #318
2018-04-25 00:43:32 +01:00
Jonathan Harris
b8c2430c53 Include numeric FDevIDs in command-line output 2018-03-05 23:36:38 +00:00
Jonathan Harris
4dcecc2989 Drop support for Slopey's BPC format 2016-12-19 15:31:28 +00:00
Jonathan Harris
9b54675cdb Round sell and buy prices down to integer
Fixes #135
2016-08-09 17:20:16 +01:00
Jonathan Harris
ee28daacc9
Add average prices to command-line output 2016-06-03 11:44:52 +01:00