From 71c6ab1e129b0cfc79e5352daf10f9845dad4d93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Victor=20H=C3=A4ggqvist?= Date: Mon, 23 Mar 2015 22:01:59 +0100 Subject: [PATCH] fix: make block script name correspond to docs --- autorandr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorandr.py b/autorandr.py index 8053b12..8c30403 100755 --- a/autorandr.py +++ b/autorandr.py @@ -390,7 +390,7 @@ def find_profiles(current_config, profiles): def profile_blocked(profile_path): "Check if a profile is blocked" - script = os.path.join(profile_path, "blocked") + script = os.path.join(profile_path, "block") if not os.access(script, os.X_OK | os.F_OK): return False return subprocess.call(script) == 0 -- 2.39.2