1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00

Opt: Rename class, move public variables to a file

This commit is contained in:
18870
2022-01-15 17:55:44 +08:00
parent a66718d768
commit 5d5ca5f299
6 changed files with 84 additions and 56 deletions

View File

@@ -30,10 +30,6 @@ class QueueHandler:
class Thread(threading.Thread):
# https://www.geeksforgeeks.org/python-different-ways-to-kill-a-thread/
def __init__(self, group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None):
super().__init__(group=group, target=target, name=name,
args=args, kwargs=kwargs, daemon=daemon)
def _get_id(self):
# returns id of the respective thread
if hasattr(self, '_thread_id'):