From ef1891c75581dcd76f3fc574228cdb933378068b Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Thu, 8 Jan 2015 10:54:57 +0100 Subject: [PATCH] Python version: Bugfix, --dry-run shouldn't always be used --- autorandr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5