missing import
This commit is contained in:
parent
7099ea7e13
commit
19115f1886
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue