Commit 2b216537 authored by Guillaume Seguin's avatar Guillaume Seguin

Oops, fix niceness during print

parent e0dcb6a1
...@@ -87,7 +87,7 @@ try: ...@@ -87,7 +87,7 @@ try:
p.nice = nice p.nice = nice
def set_priority(): def set_priority():
set_nice(10 if platform.system() != "Windows" else psutil.HIGH_PRIORITY_CLASS) set_nice(-20 if platform.system() != "Windows" else psutil.HIGH_PRIORITY_CLASS)
def reset_priority(): def reset_priority():
set_nice(0 if platform.system() != "Windows" else psutil.NORMAL_PRIORITY_CLASS) set_nice(0 if platform.system() != "Windows" else psutil.NORMAL_PRIORITY_CLASS)
......
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