mirror of
https://github.com/SystemRage/py-kms.git
synced 2025-08-11 15:58:57 +08:00
patched $DISPLAY error for Systemd
modified indentation server_thread function
This commit is contained in:
@@ -263,4 +263,7 @@ if __name__ == "__main__":
|
|||||||
if sys.stdout.isatty():
|
if sys.stdout.isatty():
|
||||||
srv_main_without_gui()
|
srv_main_without_gui()
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
srv_main_with_gui()
|
srv_main_with_gui()
|
||||||
|
except:
|
||||||
|
srv_main_without_gui()
|
||||||
|
Reference in New Issue
Block a user