From fb065c5b788fd865196cc2c00eff6fff67bf25e8 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 22 Dec 2022 14:06:40 +0000 Subject: [PATCH] collate.py: file paths/names should be pathlib.Path --- collate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collate.py b/collate.py index 3ab5224b..48007527 100755 --- a/collate.py +++ b/collate.py @@ -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')