]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
fix: make block script name correspond to docs
authorVictor Häggqvist <victor@snilius.com>
Mon, 23 Mar 2015 21:01:59 +0000 (22:01 +0100)
committerVictor Häggqvist <victor@snilius.com>
Mon, 23 Mar 2015 21:01:59 +0000 (22:01 +0100)
autorandr.py

index 8053b12c0e0ebe3f0b4dcf5a81b0a3f7f1b66a77..8c304030f6f04e717e897cdeb240292de1461a3d 100755 (executable)
@@ -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