aboutsummaryrefslogtreecommitdiffstats
path: root/slack/__init__.py
diff options
context:
space:
mode:
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()