mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-19 23:32:11 +08:00
Opt: Hide github_token in logs
This commit is contained in:
3
alas.py
3
alas.py
@@ -72,6 +72,9 @@ class AzurLaneAutoScript:
|
|||||||
|
|
||||||
def emulator(self):
|
def emulator(self):
|
||||||
for key, value in self.config.config['Emulator'].items():
|
for key, value in self.config.config['Emulator'].items():
|
||||||
|
if key == 'github_token':
|
||||||
|
print(f'{key} = {"<sensitive_infomation>"}')
|
||||||
|
else:
|
||||||
print(f'{key} = {value}')
|
print(f'{key} = {value}')
|
||||||
|
|
||||||
logger.hr('Emulator saved')
|
logger.hr('Emulator saved')
|
||||||
|
|||||||
Reference in New Issue
Block a user