mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Opt: Improve code
- Delete unnecessary import - Rename Alas to AlasManager - Move global var/function into class var/method - Resolve some IDE warning
This commit is contained in:
@@ -24,8 +24,8 @@ class QueueHandler:
|
||||
|
||||
class Thread(threading.Thread):
|
||||
# https://www.geeksforgeeks.org/python-different-ways-to-kill-a-thread/
|
||||
def __init__(self, *args, **kwargs):
|
||||
threading.Thread.__init__(self, *args, **kwargs)
|
||||
def __init__(self, target=..., *args, **kwargs):
|
||||
threading.Thread.__init__(self, target=target, *args, **kwargs)
|
||||
|
||||
def _get_id(self):
|
||||
# returns id of the respective thread
|
||||
|
||||
Reference in New Issue
Block a user