Commit 893b4458 authored by Guillaume Seguin's avatar Guillaume Seguin

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

parents 90afb988 81a358c1
......@@ -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