tradedangerous 10.16.3__py3-none-any.whl → 10.16.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tradedangerous might be problematic. Click here for more details.

@@ -9,7 +9,7 @@ import requests
9
9
  import simdjson
10
10
  import sqlite3
11
11
 
12
- from .. import plugins, cache, fs, transfers, csvexport
12
+ from .. import plugins, cache, fs, transfers, csvexport, corrections
13
13
 
14
14
  SOURCE_URL = 'https://downloads.spansh.co.uk/galaxy_stations.json'
15
15
 
@@ -171,8 +171,8 @@ class ImportPlugin(plugins.ImportPluginBase):
171
171
  ?, ?, ?,
172
172
  ?, ?, ?, ?
173
173
  )""", *item )
174
+ commodity_count += 1
174
175
  self.execute('COMMIT')
175
- commodity_count += 1
176
176
 
177
177
  # categories = self.categorise_commodities(commodities)
178
178
  # for category_name, category_commodities in categories.items():
@@ -212,6 +212,7 @@ class ImportPlugin(plugins.ImportPluginBase):
212
212
  # _, path = csvexport.exportTableToFile( self.tdb, self.tdenv, table )
213
213
 
214
214
  self.execute('COMMIT')
215
+ self.tdb.close()
215
216
  # Need to make sure cached tables are updated
216
217
  for table in [ "Item", "Station", "System", "StationItem" ]:
217
218
  _, path = csvexport.exportTableToFile( self.tdb, self.tdenv, table )
@@ -398,7 +399,7 @@ class ImportPlugin(plugins.ImportPluginBase):
398
399
  ''',
399
400
  commodity.id,
400
401
  commodity.category.upper(),
401
- commodity.name,
402
+ corrections.correctItem(commodity.name),
402
403
  commodity.id,
403
404
  )
404
405
 
@@ -410,7 +411,7 @@ class ImportPlugin(plugins.ImportPluginBase):
410
411
  """)
411
412
  cat_id = 0
412
413
  ui_order = 1
413
- self.tdenv.DEBUG0("Adding ui_order data to items.")
414
+ self.tdenv.DEBUG0("Updating ui_order data for items.")
414
415
  for line in temp:
415
416
  if line[1] != cat_id:
416
417
  ui_order = 1
tradedangerous/version.py CHANGED
@@ -12,5 +12,5 @@
12
12
  """just keeper of current version"""
13
13
 
14
14
  # TODO: remember to update tests when version changes
15
- __version__ = '10.16.3'
15
+ __version__ = '10.16.5'
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tradedangerous
3
- Version: 10.16.3
3
+ Version: 10.16.5
4
4
  Summary: Trade-Dangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.
5
5
  Home-page: https://github.com/eyeonus/Trade-Dangerous
6
6
  Author: eyeonus
@@ -21,7 +21,7 @@ tradedangerous/tradeexcept.py,sha256=aZ-Y31MbkjF7lmAzBAbaMsPPE7FEEfuf4gaX2GvriDk
21
21
  tradedangerous/tradegui.py,sha256=JbGFnsWupgesk6hrcUgKSdD9NNDyo0U9gh6m3DccAwU,782
22
22
  tradedangerous/transfers.py,sha256=NmXXk2aF88YkAvYqc9Syt_aO6d2jJjC-OxoRFoOyQH4,9923
23
23
  tradedangerous/utils.py,sha256=PUPvAEqUyxYGqqQa0b_yfLAvq8YVUxK6HfdS-CxM-Lo,5186
24
- tradedangerous/version.py,sha256=mt7nreZFYGnU1n0cPsvQoAV7W3dlvvg1q8Hq7jPnOts,647
24
+ tradedangerous/version.py,sha256=sQh4u9prPaBYuj_06ckAx_U_4KlIAU8RW8YtykXe2M8,647
25
25
  tradedangerous/commands/TEMPLATE.py,sha256=7oXL124aqxGHwnb0h9yRylUiwc6M5QrRrGVrubwI1gg,2124
26
26
  tradedangerous/commands/__init__.py,sha256=6B0WuqkFBOll5Hj67yKDAnhmyr5ZAnHc6nzUNEUh384,9640
27
27
  tradedangerous/commands/buildcache_cmd.py,sha256=oJvP06fA8svnHrfrpWkHKR16cba8GIhHdMOyZqds18Y,2332
@@ -66,14 +66,14 @@ tradedangerous/plugins/eddblink_plug.py,sha256=CaczfCLKyRNbGh3xecBI0qLp0dz-xpnZ2
66
66
  tradedangerous/plugins/edmc_batch_plug.py,sha256=3Ptr-SZqaZFR8ViIIrp9Ak7rvfU3zl11AZYBhIceN7s,4224
67
67
  tradedangerous/plugins/journal_plug.py,sha256=K1oIeI7E3mb04fvYLXyoAh7fOTyM9NBelibTI88MIDQ,23696
68
68
  tradedangerous/plugins/netlog_plug.py,sha256=Gw_HSZWpN17D--OIYEM3Vo8y9SvDOv9UwAUfY24kz28,13460
69
- tradedangerous/plugins/spansh_plug.py,sha256=FhaXH0qIuld03PeH5P7c6XeViCgM_7Epjd9BBVbGyyQ,21455
69
+ tradedangerous/plugins/spansh_plug.py,sha256=5-C431UsscuwT-IQ6Cd_2HV3SqSv9X_VGRX_uhe4Ly0,21529
70
70
  tradedangerous/templates/Added.csv,sha256=8o54civQCcS9y7_DBo0GX196XWRbbREQqKDYTKibsgQ,649
71
71
  tradedangerous/templates/Category.csv,sha256=8xwUDcBZE25T6x6dZGlRUMTCqeDLt3a9LXU5h6hRHV8,250
72
72
  tradedangerous/templates/RareItem.csv,sha256=F1RhRnTD82PiwrVUO-ai2ErGH2PTqNnQaDw5mcgljXs,10483
73
73
  tradedangerous/templates/TradeDangerous.sql,sha256=kHZ7JBSY5lh2DnqayAxoO-apvXKB510SqhAzkT21YHY,8138
74
- tradedangerous-10.16.3.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
- tradedangerous-10.16.3.dist-info/METADATA,sha256=8iliJb1RvPqPlQ0ifOY5Fvvo99mUFSj2RjwmNvnlK5c,4421
76
- tradedangerous-10.16.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
- tradedangerous-10.16.3.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
- tradedangerous-10.16.3.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
- tradedangerous-10.16.3.dist-info/RECORD,,
74
+ tradedangerous-10.16.5.dist-info/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
75
+ tradedangerous-10.16.5.dist-info/METADATA,sha256=RA4JVWEmSFk1Bxt4LKRbj5_wKLnFqZErE37KqjiD5M4,4421
76
+ tradedangerous-10.16.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
77
+ tradedangerous-10.16.5.dist-info/entry_points.txt,sha256=pSwa-q0ob443uiKux7xFKYQl8uen66iDTnjdrQhNLx8,92
78
+ tradedangerous-10.16.5.dist-info/top_level.txt,sha256=bF29i-oEltmNICgElEKxNsg83oahJvxg3a7YrxZi9Rk,15
79
+ tradedangerous-10.16.5.dist-info/RECORD,,