summaryrefslogtreecommitdiffstats
path: root/export
diff options
context:
space:
mode:
Diffstat (limited to 'export')
-rw-r--r--export/toqms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/export/toqms.py b/export/toqms.py
index 2564094..69e565c 100644
--- a/export/toqms.py
+++ b/export/toqms.py
@@ -22,10 +22,10 @@ def qmRow(qm):
}
qmRow=['' for x in range(len(headers))]
- for column, modelField in columnsToModelFields.items():
+ for column, modelField in list(columnsToModelFields.items()):
if modelField:
# Very sorry about the atrocious replace below. I will fix this soon if noone beats me to it. - AC
- qmRow[headers.index(column)]=modelField.replace(u'\xd7','x').replace(u'\u201c','').replace(u'\u2013','').replace(u'\xbd','')
+ qmRow[headers.index(column)]=modelField.replace('\xd7','x').replace('\u201c','').replace('\u2013','').replace('\xbd','')
return qmRow
def writeQmTable(outfile,cave):