missing import

This commit is contained in:
j 2018-05-09 19:03:15 +01:00
parent 7099ea7e13
commit 19115f1886

View file

@ -140,8 +140,10 @@ class API(object):
def signin(site): def signin(site):
import sys
from getpass import getpass from getpass import getpass
from .web import auth from .web import auth
api = API('https://%s/api/' % site) api = API('https://%s/api/' % site)
update = False update = False
try: try: