Skip to content

Commit

Permalink
signin with email
Browse files Browse the repository at this point in the history
  • Loading branch information
chriddyp committed Dec 25, 2013
1 parent 7c3ca42 commit 7e7c62f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plotly/plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def signup(un, email):
return r

class plotly:
def __init__(self, username=None, key=None,verbose=True):
''' plotly constructor. Supply username and api key.
def __init__(self, username_or_email=None, key=None,verbose=True):
''' plotly constructor. Supply username or email and api key.
'''
self.un = username
self.un = username_or_email
self.key = key
self.__filename = None
self.__fileopt = None
Expand Down

0 comments on commit 7e7c62f

Please sign in to comment.