forked from expo/troggle
bug found by python 3.11
This commit is contained in:
parent
96281c33e8
commit
0b89979418
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user