Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Updated sleep preventer to use newer python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
RaenonX authored Aug 2, 2023
1 parent cb24730 commit 047e2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def create_app(with_error=True, configfile=None):
return app

def activate_sleep_preventer():
sleep_preventer.Process(target=_proc_prevent_sleep).start()
sleep_preventer.apply_async(_proc_prevent_sleep)

def _proc_prevent_sleep():
while True:
Expand Down

0 comments on commit 047e2f7

Please sign in to comment.