aboutsummaryrefslogtreecommitdiffstats
path: root/slack/__init__.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-30 08:18:11 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commitd79d89649435e8db19319228c9d757a55ac305be (patch)
treef3b7d9c75ce97361b96677988e02d1960422f92f /slack/__init__.py
parent8257efd22ea2ac9088098c161dc554d82bbdd974 (diff)
downloadwee-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/__init__.py')
-rw-r--r--slack/__init__.py11
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()