mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-03-12 01:10:39 +01:00
Removed an assert that isn't too important.
This commit is contained in:
parent
a65c5e65dd
commit
d15e7e8d7f
@ -54,7 +54,8 @@ startedAt = time.time() # Just in case it doesn't get set later.
|
|||||||
starting = False
|
starting = False
|
||||||
|
|
||||||
mainThread = threading.currentThread()
|
mainThread = threading.currentThread()
|
||||||
assert 'MainThread' in repr(mainThread)
|
# ??? Should we do this? What do we gain?
|
||||||
|
# assert 'MainThread' in repr(mainThread)
|
||||||
|
|
||||||
def isMainThread():
|
def isMainThread():
|
||||||
return mainThread is threading.currentThread()
|
return mainThread is threading.currentThread()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user