Skip to content

Commit

Permalink
Fixed CLI errors. Added config for building as a wheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaront committed Jan 6, 2016
1 parent 8316470 commit f20722a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mygeotab/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def console(session, database=None, user=None, password=None, server=None):
# This DB hasn't been logged into before
api = login(session, user, password, database, server)
try:
api.call('Get', 'User', search=dict(name=session.credentials.username))
api.search('User', name=session.credentials.username)
except mygeotab.api.AuthenticationException:
# Credentials expired, try logging in again
click.echo('Your session has expired. Please login again.')
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[wheel]
universal = 1

0 comments on commit f20722a

Please sign in to comment.