Commit 4bd9ea4e authored by Jeremy Bicha's avatar Jeremy Bicha 🎹

autostart: don't add trailing space

parent f1da4237
......@@ -151,7 +151,10 @@ class AutostartFile:
raise Exception("Need either an appinfo or a file name")
self._exec_cmd = exec_cmd
self._extra_exec_args = " %s\n" % extra_exec_args
if extra_exec_args:
self._extra_exec_args = " %s\n" % extra_exec_args
else:
self._extra_exec_args = "\n"
user_autostart_dir = os.path.join(GLib.get_user_config_dir(), "autostart")
if not os.path.isdir(user_autostart_dir):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment