aboutsummaryrefslogtreecommitdiffstats
path: root/slack/__init__.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-30 07:49:52 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:52 +0100
commit675ad9bb16e4041afde43f551d7a76bb9b008f5e (patch)
tree1c09ff2f764f84250b32fd4731c16fdb2af5afa3 /slack/__init__.py
parent4621f0fedb99c04a90489aa3d2fca64b3d5d2db5 (diff)
downloadwee-slack-675ad9bb16e4041afde43f551d7a76bb9b008f5e.tar.gz
Move all into slack directory
Diffstat (limited to 'slack/__init__.py')
-rw-r--r--slack/__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/slack/__init__.py b/slack/__init__.py
index e69de29..431484a 100644
--- a/slack/__init__.py
+++ b/slack/__init__.py
@@ -0,0 +1,11 @@
+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()