forked from openlp/openlp
removed not needed code
This commit is contained in:
parent
df800850e1
commit
cf798e73d5
@ -1364,8 +1364,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow, RegistryProperties):
|
|||||||
args = []
|
args = []
|
||||||
for a in self.arguments:
|
for a in self.arguments:
|
||||||
args.extend([a])
|
args.extend([a])
|
||||||
for arg in args:
|
for filename in args:
|
||||||
filename = arg
|
|
||||||
if not isinstance(filename, str):
|
if not isinstance(filename, str):
|
||||||
filename = str(filename, sys.getfilesystemencoding())
|
filename = str(filename, sys.getfilesystemencoding())
|
||||||
if filename.endswith(('.osz', '.oszl')):
|
if filename.endswith(('.osz', '.oszl')):
|
||||||
|
Loading…
Reference in New Issue
Block a user