diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-11-15 23:56:35 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-11-15 23:56:35 +0000 |
commit | 0b89979418d76b3ef8f4af55730ddf4b99ea4d68 (patch) | |
tree | bd1dd8379b0c4dc43ff626d3fb966e8c327ea89e /parsers/QMs.py | |
parent | 96281c33e89195b0120ba5c4ad8828f0ba1c2b4e (diff) | |
download | troggle-0b89979418d76b3ef8f4af55730ddf4b99ea4d68.tar.gz troggle-0b89979418d76b3ef8f4af55730ddf4b99ea4d68.tar.bz2 troggle-0b89979418d76b3ef8f4af55730ddf4b99ea4d68.zip |
bug found by python 3.11
Diffstat (limited to 'parsers/QMs.py')
-rw-r--r-- | parsers/QMs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/QMs.py b/parsers/QMs.py index 484499a..12028eb 100644 --- a/parsers/QMs.py +++ b/parsers/QMs.py @@ -67,7 +67,7 @@ def parseCaveQMs(cave, inputFile, ticked=False): #qmPath = settings.EXPOWEB+inputFile qmPath = os.path.join(settings.EXPOWEB, inputFile) # why not use the pathlib stuff ? - qmCSVContents = open(qmPath,'rU') + qmCSVContents = open(qmPath,'r') dialect=csv.Sniffer().sniff(qmCSVContents.read()) qmCSVContents.seek(0,0) qmReader = csv.reader(qmCSVContents,dialect=dialect) |