mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
@@ -10979,10 +10979,13 @@ def ProcessGAMCommand(args):
|
|||||||
try:
|
try:
|
||||||
SetGlobalVariables()
|
SetGlobalVariables()
|
||||||
if sys.version_info[1] >= 7:
|
if sys.version_info[1] >= 7:
|
||||||
|
try:
|
||||||
sys.stdout.reconfigure(encoding=GC_Values[GC_CHARSET],
|
sys.stdout.reconfigure(encoding=GC_Values[GC_CHARSET],
|
||||||
errors='backslashreplace')
|
errors='backslashreplace')
|
||||||
sys.stdin.reconfigure(encoding=GC_Values[GC_CHARSET],
|
sys.stdin.reconfigure(encoding=GC_Values[GC_CHARSET],
|
||||||
errors='backslashreplace')
|
errors='backslashreplace')
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
command = sys.argv[1].lower()
|
command = sys.argv[1].lower()
|
||||||
if command == 'batch':
|
if command == 'batch':
|
||||||
i = 2
|
i = 2
|
||||||
|
|||||||
Reference in New Issue
Block a user