Skip to content

Commit 6d72cfa

Browse files
committed
fix: _stop_update_thread as staticmethod
1 parent b364630 commit 6d72cfa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arduino_alvik.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def _begin_update_thread(self):
7171
ArduinoAlvik._update_thread_running = True
7272
self._update_thread_id = _thread.start_new_thread(self._update, (1,))
7373

74-
def _stop_update_thread(self):
74+
@staticmethod
75+
def _stop_update_thread():
7576
"""
7677
Stops the background operations
7778
:return:

0 commit comments

Comments
 (0)