diff --git a/slack/__init__.py b/slack/__init__.py index 8fd4197..f8305f3 100644 --- a/slack/__init__.py +++ b/slack/__init__.py @@ -1,14 +1,17 @@ # # Copyright 2015 (c) Anna Schumaker # +import sys +import os + +path = os.path.realpath(sys.argv[0]) +os.chdir(os.path.dirname(path)) + from . import api from . import auth from . import channels -import sys - - # # Verify connection and setup team information.