Commit 81a358c1 authored by eldir's avatar eldir

Update __init__.py

Fixing: platform.system -> platform.system()
parent f4dc4639
......@@ -68,11 +68,11 @@ try:
def set_priority():
p = psutil.Process()
set_nice(p, 10 if platform.system != "Windows" else psutil.HIGH_PRIORITY_CLASS)
set_nice(p, 10 if platform.system() != "Windows" else psutil.HIGH_PRIORITY_CLASS)
def reset_priority():
p = psutil.Process()
set_nice(p, 0 if platform.system != "Windows" else psutil.NORMAL_PRIORITY_CLASS)
set_nice(p, 0 if platform.system() != "Windows" else psutil.NORMAL_PRIORITY_CLASS)
def powerset_print_start(reason):
set_priority()
......
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