23 lines
314 B
Python
23 lines
314 B
Python
#
|
|
# Copyright 2015 (c) Anna Schumaker
|
|
#
|
|
|
|
from . import api
|
|
from . import auth
|
|
import sys
|
|
|
|
|
|
|
|
#
|
|
# Verify connection and setup team information.
|
|
#
|
|
|
|
if api.test() == False:
|
|
print("Connection error, cannot continue.")
|
|
sys.exit(1)
|
|
|
|
__auth = auth.test()
|
|
if __auth == None:
|
|
sys.exit(1)
|
|
__TEAM = __auth["team"]
|