diff options
-rw-r--r-- | portato/helper.py | 2 | ||||
-rw-r--r-- | portato/plugins/etc_proposals.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/portato/helper.py b/portato/helper.py index 604f2c1..cef3537 100644 --- a/portato/helper.py +++ b/portato/helper.py @@ -85,7 +85,7 @@ def flatten (listOfLists): @param listOfLists: the list of lists to flatten @type listOfLists: list of lists @returns: flattend list - @rtyoe: list""" + @rtype: list""" return list(chain(*listOfLists)) diff --git a/portato/plugins/etc_proposals.py b/portato/plugins/etc_proposals.py index c76fef9..90f3f3f 100644 --- a/portato/plugins/etc_proposals.py +++ b/portato/plugins/etc_proposals.py @@ -38,7 +38,7 @@ def etc_prop (*args, **kwargs): if l > 0: Popen("etc-proposals") else: - Popen("etc-proposals --frontend gtk --fastexit") + Popen(["etc-proposals", "--frontend gtk", "--fastexit"]) def etc_prop_menu (*args, **kwargs): if not am_i_root(): @@ -47,4 +47,4 @@ def etc_prop_menu (*args, **kwargs): if float(__version__) < 1.1: Popen("etc-proposals") else: - Popen("etc-proposals --frontend gtk") + Popen(["etc-proposals", "--frontend gtk"]) |