Browse Source

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.
Demi Marie Obenour 3 years ago
parent
commit
883ae3b082
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qubesmanager/log_dialog.py

+ 1 - 1
qubesmanager/log_dialog.py

@@ -84,7 +84,7 @@ def main():
     qubes_app = Qubes()
     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()
 
     qt_app.exec_()