Skip to content

Commit

Permalink
refactor: move eddblink_plug downloads to ./tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeonus committed Jun 10, 2024
1 parent 4e403fe commit dee11c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradedangerous/plugins/eddblink_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class ImportPlugin(plugins.ImportPluginBase):
def __init__(self, tdb, tdenv):
super().__init__(tdb, tdenv)

self.dataPath = Path(os.environ.get('TD_EDDB')) if os.environ.get('TD_EDDB') else self.tdb.dataPath / Path("eddb")
self.dataPath = os.environ.get('TD_EDDB') or self.tdenv.tmpDir
self.categoriesPath = Path("Category.csv")
self.commoditiesPath = Path("Item.csv")
self.rareItemPath = Path("RareItem.csv")
Expand Down

0 comments on commit dee11c2

Please sign in to comment.