1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-13 00:57:01 +08:00

Add: multi-server support

This commit is contained in:
LmeSzinc
2020-05-25 22:05:42 +08:00
parent 9fa68121dd
commit 2f1f999ce5
517 changed files with 688 additions and 263 deletions

View File

@@ -5,8 +5,8 @@ import sys
from collections import deque
pyw_name = os.path.splitext(os.path.basename(sys.argv[0]))[0]
if f'{pyw_name}.pyw' not in os.listdir('./'):
pyw_name = 'default'
if '_' in pyw_name:
pyw_name = '_'.join(pyw_name.split('_')[:-1])
logger = logging.getLogger()
logger.setLevel(logging.INFO)