All python file(...) converted to open(...)

This commit is contained in:
bsongis
2012-08-27 20:26:21 +00:00
parent 2fac92a843
commit f47692a258
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from PyQt4 import Qt, QtGui
image = QtGui.QImage(sys.argv[1])
width, height = image.size().width(), image.size().height()
f = file(sys.argv[2], "w")
f = open(sys.argv[2], "w")
if sys.argv[3] == "img":
rows = 1