fix hibernation after playback

This commit is contained in:
LE LOUER Lucas 2024-05-30 10:40:14 +02:00
parent 6c59869ef4
commit 6df58a99c9
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ class Macro:
system("shutdown /r /t 0") system("shutdown /r /t 0")
else: else:
system("shutdown -r now") 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": if platform == "win32":
system("shutdown -h") system("shutdown -h")
elif "linux" in platform.lower(): elif "linux" in platform.lower():