Commit 27e422e7 authored by eldir's avatar eldir

Update __init__.py

Function call needed instead of reference.
parent 530e8d20
......@@ -16,11 +16,11 @@
import platform
import traceback
if platform.system == "Darwin":
if platform.system() == "Darwin":
from .osx import inhibit_sleep_osx, deinhibit_sleep_osx
inhibit_sleep = inhibit_sleep_osx
deinhibit_sleep = deinhibit_sleep_osx
elif platform.system == "Windows":
elif platform.system() == "Windows":
import ctypes
ES_CONTINUOUS = 0x80000000
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