diff options
author | Philip Sargent <philip@Muscogee.localdomain> | 2020-05-24 01:57:06 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2020-05-24 20:56:27 +0100 |
commit | 50d753a87b5f6bc4fe31e222a37796cf903133f7 (patch) | |
tree | 885b01fa921893684b602c20392c1ef995e13482 /export | |
parent | 35f85c55f14e707e37d822041e25bca2913f48c4 (diff) | |
download | troggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.tar.gz troggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.tar.bz2 troggle-50d753a87b5f6bc4fe31e222a37796cf903133f7.zip |
Convert codebase for python3 usage
Diffstat (limited to 'export')
-rw-r--r-- | export/toqms.py | 4 |
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): |