]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Python version: Bugfix, --dry-run shouldn't always be used
authorPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 8 Jan 2015 09:54:57 +0000 (10:54 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Thu, 8 Jan 2015 09:54:57 +0000 (10:54 +0100)
autorandr.py

index 7c12b5fc0cf981d171dca047cab082bc4dbfe45d..aef787669b98bc123b0187176703ea319e54db12 100755 (executable)
@@ -499,7 +499,7 @@ def main(argv):
                 apply_configuration(profile, True)
             else:
                 exec_scripts(os.path.join(profile_path, load_profile), "preswitch")
-                apply_configuration(profile, True)
+                apply_configuration(profile, False)
                 exec_scripts(os.path.join(profile_path, load_profile), "postswitch")
         except Exception as e:
             print("Failed to apply profile '%s':\n%s" % (load_profile, str(e)), file=sys.stderr)