Protect 3p lib imports + update requirements
This commit is contained in:
1 parent
716a824323
commit
1aba5984d2
3 files changed
+12
-5
No files matched your search
@@ -14,8 +14,8 @@ from typing import (
|
||||
|
||||
try:
|
||||
import aiohttp
|
||||
except ImportError:
|
||||
raise ImportError("You have to run 'python -m pip install aiohttp' first")
|
||||
except ModuleNotFoundError as exc:
|
||||
raise ImportError("You have to run 'pip install aiohttp' first") from exc
|
||||
|
||||
from channel import Channel
|
||||
from gui import GUIManager, LoginData
|
||||
|
||||
Reference in new issue
Block a user