Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
maurodelazeri committed Feb 11, 2020
1 parent 4b4189b commit 98b4b53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ZinnionAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def __init__(self):
logging.info("Python ZTrading : sys.platform not supported")
sys.exit()

if os.getenv("TOKEN") is not None:
logging.info("Python ZTrading : Please set your TOKEN")
if 'USER_ID' not in os.environ:
logging.info("Python ZTrading : USER_ID: not set")
sys.exit()

if os.getenv("USER_ID") is not None:
logging.info("Python ZTrading : Please set your USER_ID")
if 'TOKEN' not in os.environ:
logging.info("Python ZTrading : TOKEN: not set")
sys.exit()

if 'ZTRADING_LIB' in os.environ:
Expand Down

0 comments on commit 98b4b53

Please sign in to comment.