removed not needed code

This commit is contained in:
Andreas Preikschat 2014-04-20 18:02:50 +02:00
parent df800850e1
commit cf798e73d5
1 changed files with 1 additions and 2 deletions

View File

@ -1364,8 +1364,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow, RegistryProperties):
args = []
for a in self.arguments:
args.extend([a])
for arg in args:
filename = arg
for filename in args:
if not isinstance(filename, str):
filename = str(filename, sys.getfilesystemencoding())
if filename.endswith(('.osz', '.oszl')):