From: Phillip Berndt Date: Thu, 8 Jan 2015 09:54:57 +0000 (+0100) Subject: Python version: Bugfix, --dry-run shouldn't always be used X-Git-Tag: 1.0~111 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ef1891c75581dcd76f3fc574228cdb933378068b;p=deb_pkgs%2Fautorandr.git Python version: Bugfix, --dry-run shouldn't always be used --- diff --git a/autorandr.py b/autorandr.py index 7c12b5f..aef7876 100755 --- a/autorandr.py +++ b/autorandr.py @@ -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)