Skip to content

Commit

Permalink
Use self._start_main_loop()
Browse files Browse the repository at this point in the history
  • Loading branch information
luk3yx committed Jan 11, 2022
1 parent ab49b93 commit 6bcdaec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions miniirc_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import miniirc, requests, traceback # type: ignore


ver = (0, 0, 1)
ver = (0, 0, 2)
__version__ = '.'.join(map(str, ver))


Expand Down Expand Up @@ -432,7 +432,7 @@ def connect(self) -> None:
}
self.__start_time = math.floor(time.time()) * 1000
self.debug('Starting main loop (Matrix)')
threading.Thread(target=self._main).start()
self._start_main_loop()

def disconnect(self) -> None:
self.connected = False
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='miniirc_matrix',
version='0.0.1',
version='0.0.2',
py_modules=['miniirc_matrix'],
author='luk3yx',
description='A Matrix wrapper for miniirc.',
Expand All @@ -15,7 +15,7 @@
long_description_content_type='text/markdown',
install_requires=[
'requests>=2.22.0,<3',
'miniirc>=1.7.0,<2',
'miniirc>=1.8.0,<2',
],
python_requires='>=3.8',

Expand Down

0 comments on commit 6bcdaec

Please sign in to comment.