Commit eef6a5e2 authored by Guillaume Seguin's avatar Guillaume Seguin

Merge branch 'master' of github.com:kliment/Printrun

parents 381c52b6 27e422e7
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
import platform import platform
import traceback import traceback
if platform.system == "Darwin": if platform.system() == "Darwin":
from .osx import inhibit_sleep_osx, deinhibit_sleep_osx from .osx import inhibit_sleep_osx, deinhibit_sleep_osx
inhibit_sleep = inhibit_sleep_osx inhibit_sleep = inhibit_sleep_osx
deinhibit_sleep = deinhibit_sleep_osx deinhibit_sleep = deinhibit_sleep_osx
elif platform.system == "Windows": elif platform.system() == "Windows":
import ctypes import ctypes
ES_CONTINUOUS = 0x80000000 ES_CONTINUOUS = 0x80000000
ES_SYSTEM_REQUIRED = 0x00000001 ES_SYSTEM_REQUIRED = 0x00000001
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment