diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-10-30 08:18:11 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:52 +0100 |
commit | d79d89649435e8db19319228c9d757a55ac305be (patch) | |
tree | f3b7d9c75ce97361b96677988e02d1960422f92f /slack | |
parent | 8257efd22ea2ac9088098c161dc554d82bbdd974 (diff) | |
download | wee-slack-d79d89649435e8db19319228c9d757a55ac305be.tar.gz |
Move main out of slack dir
The sys path thing got wrong directory when inside slack dir.
Diffstat (limited to 'slack')
-rw-r--r-- | slack/__init__.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/slack/__init__.py b/slack/__init__.py index 431484a..e69de29 100644 --- a/slack/__init__.py +++ b/slack/__init__.py @@ -1,11 +0,0 @@ -import os -import sys - -sys.path.append(os.path.dirname(os.path.realpath(__file__))) -from slack.init import main # pylint: disable=wrong-import-position -from slack.shared import shared # pylint: disable=wrong-import-position - -shared.weechat_callbacks = globals() - -if __name__ == "__main__": - main() |