Skip to content

Commit

Permalink
Merge pull request #22 from victorhaggqvist/patch-1
Browse files Browse the repository at this point in the history
Fix `block` script filename in Python version
  • Loading branch information
phillipberndt committed Mar 24, 2015
2 parents 642ff4e + 71c6ab1 commit f387f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autorandr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f387f3d

Please sign in to comment.