summaryrefslogtreecommitdiffstats
path: root/parsers/QMs.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/QMs.py')
-rw-r--r--parsers/QMs.py2
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)