Browse Source

Coverted integers to strings to be aable to be joined.

Taddeus Kroes 14 năm trước cách đây
mục cha
commit
ca2d8e22d9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/writer.py

+ 1 - 1
src/writer.py

@@ -33,7 +33,7 @@ def write_statements(statements):
                 else:
                     line += ' '
 
-                line += ','.join(s.args)
+                line += ','.join(map(str, s))
         else:
             raise Exception('Unsupported statement type "%s"' % s.stype)