mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Update __main__.py
This commit is contained in:
@@ -21,6 +21,7 @@ With GAM you can programmatically create users, turn on/off services for users l
|
|||||||
For more information, see https://jaylee.us/gam
|
For more information, see https://jaylee.us/gam
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Note that this file (and only this file) should remain compatible
|
# Note that this file (and only this file) should remain compatible
|
||||||
@@ -49,6 +50,7 @@ def main():
|
|||||||
from multiprocessing import set_start_method
|
from multiprocessing import set_start_method
|
||||||
set_start_method('fork')
|
set_start_method('fork')
|
||||||
import gam
|
import gam
|
||||||
|
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
|
||||||
sys.exit(gam.ProcessGAMCommand(sys.argv))
|
sys.exit(gam.ProcessGAMCommand(sys.argv))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user