From 883ae3b08228e350c398fb24aa3745238bcec1e1 Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Fri, 2 Apr 2021 23:39:45 -0400 Subject: [PATCH] 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. --- qubesmanager/log_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/log_dialog.py b/qubesmanager/log_dialog.py index 979b069..9ee9e8d 100644 --- a/qubesmanager/log_dialog.py +++ b/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_()