mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 04:49:17 +08:00
Opt: Removed unnecessary string convert
This commit is contained in:
@@ -256,7 +256,6 @@ class Commission:
|
|||||||
str: Commission genre, such as 'urgent_gem'.
|
str: Commission genre, such as 'urgent_gem'.
|
||||||
"""
|
"""
|
||||||
# string = string.replace(' ', '').replace('-', '')
|
# string = string.replace(' ', '').replace('-', '')
|
||||||
string = string.upper()
|
|
||||||
for key, value in dictionary_en.items():
|
for key, value in dictionary_en.items():
|
||||||
for keyword in value:
|
for keyword in value:
|
||||||
if keyword in string:
|
if keyword in string:
|
||||||
|
|||||||
Reference in New Issue
Block a user