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:
parent
6110e5ff3b
commit
bbe14fa88d
|
@ -1,14 +1,17 @@
|
||||||
#
|
#
|
||||||
# Copyright 2015 (c) Anna Schumaker
|
# 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 api
|
||||||
from . import auth
|
from . import auth
|
||||||
from . import channels
|
from . import channels
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Verify connection and setup team information.
|
# Verify connection and setup team information.
|
||||||
|
|
Loading…
Reference in New Issue