mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: Remove unnecessary use of drags, fallback to swipe+click if drag is a must
This commit is contained in:
@@ -506,5 +506,5 @@ def type_to_str(typ):
|
||||
str: Such as `int`, 'datetime.datetime'.
|
||||
"""
|
||||
if not isinstance(typ, type):
|
||||
typ = type(typ)
|
||||
return str(typ).strip("<class '>").replace('<', '_').replace('>', '_')
|
||||
typ = type(typ).__name__
|
||||
return str(typ)
|
||||
|
||||
Reference in New Issue
Block a user