Some cleanup, and update to make those files usable both as self-executables and...
[blender.git] / release / datafiles / datatoc.py
index 9db77544c03790a49a0367bc76dd9e9c7a84f87a..f1fce08d7dd18fabb6bde28e1e113cd6d7ebc12e 100755 (executable)
@@ -53,8 +53,8 @@ sys.stdout.write("Making C file <%s>\n" % cname)
 
 filename = filename.split("/")[-1].split("\\")[-1]
 filename = filename.replace(".", "_")
-sys.stdout.write(str(size))
-sys.stdout.write("\n")
+sys.stdout.write("%d\n" % size)
+
 try:
     fpout = open(cname, "w")
 except: