Преглед изворни кода

Coverted integers to strings to be aable to be joined.

Taddeus Kroes пре 14 година
родитељ
комит
ca2d8e22d9
1 измењених фајлова са 1 додато и 1 уклоњено
  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)