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

collate.py: file paths/names should be pathlib.Path

This commit is contained in:
Athanasius 2022-12-22 14:06:40 +00:00
parent 95b442cf02
commit fb065c5b78
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -100,7 +100,7 @@ def addmodules(data): # noqa: C901, CCR001
if not data['lastStarport'].get('modules'):
return
outfile = 'outfitting.csv'
outfile = pathlib.Path('outfitting.csv')
modules = {}
fields = ('id', 'symbol', 'category', 'name', 'mount', 'guidance', 'ship', 'class', 'rating', 'entitlement')