feat: auto update

This commit is contained in:
aclist committed 2026-05-18 20:11:51 +09:00
1 parent 80c58be3be
commit c063059c19
10 files changed
+98 -27

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ def call_on_thread(
self = args[0]
stored = StoredFunc(func, *args, **kwargs)
if not hasattr(self, "thread_man"):
raise AttributeError
raise AttributeError(f"Object '{self}' has no attribute 'thread_man'")
if type(self.thread_man) is not ThreadingManager:
raise TypeError(
"Attribute 'thread_man' must be of type 'ThreadingManager'"