mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Add: Set up logging.raiseExceptions to False to silence exceptions
FIx: [EN] Minor fix in translation.
This commit is contained in:
@@ -4,6 +4,8 @@ import os
|
||||
import sys
|
||||
from collections import deque
|
||||
|
||||
logging.raiseExceptions = False # Set True if wanna see encode errors on console
|
||||
|
||||
pyw_name = os.path.splitext(os.path.basename(sys.argv[0]))[0]
|
||||
if '_' in pyw_name:
|
||||
pyw_name = '_'.join(pyw_name.split('_')[:-1])
|
||||
|
||||
Reference in New Issue
Block a user