mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-20 05:47:00 +00:00
fix: make block script name correspond to docs
This commit is contained in:
parent
642ff4e4a7
commit
71c6ab1e12
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user