Skip to content

Commit

Permalink
fix hibernation after playback
Browse files Browse the repository at this point in the history
  • Loading branch information
LOUDO56 committed May 30, 2024
1 parent 6c59869 commit 6df58a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macro/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def stop_playback(self, playback_stopped_manually=False):
system("shutdown /r /t 0")
else:
system("shutdown -r now")
elif userSettings["After_Playback"]["Mode"].lower() == "hibernate (if activated)":
elif userSettings["After_Playback"]["Mode"].lower() == "hibernate (if enabled)":
if platform == "win32":
system("shutdown -h")
elif "linux" in platform.lower():
Expand Down

0 comments on commit 6df58a9

Please sign in to comment.