Pass the command line arguments to LogDialog
instead of only the first one. That caused argv[1] to be iterated over, meaning that LogDialog would see it as a list of one-character filenames. Hilarity ensued.
This commit is contained in:
parent
5f1770fecd
commit
883ae3b082
@ -84,7 +84,7 @@ def main():
|
|||||||
qubes_app = Qubes()
|
qubes_app = Qubes()
|
||||||
qt_app = QtWidgets.QApplication(sys.argv)
|
qt_app = QtWidgets.QApplication(sys.argv)
|
||||||
|
|
||||||
log_window = LogDialog(qubes_app, sys.argv[1])
|
log_window = LogDialog(qubes_app, sys.argv[1:])
|
||||||
log_window.show()
|
log_window.show()
|
||||||
|
|
||||||
qt_app.exec_()
|
qt_app.exec_()
|
||||||
|
Loading…
Reference in New Issue
Block a user