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

This commit is contained in:
Athanasius committed 2022-12-23 14:47:17 +00:00
1 parent 95b442cf02
commit fb065c5b78
1 file changed
+1 -1
+1 -1
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')