slack: change directory before running

To help find the tokens file, mostly

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-05-26 21:31:45 -04:00
parent 6110e5ff3b
commit bbe14fa88d
1 changed files with 6 additions and 3 deletions

View File

@ -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.