mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 04:05:08 +03:00
🐛 Fixed CLI exception at refreshing token
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ def login(ctx: Context):
|
||||
|
||||
if ctx.obj.config.auth.token:
|
||||
logger.info("Already logged in.")
|
||||
refresh(ctx)
|
||||
ctx.invoke(refresh)
|
||||
return
|
||||
|
||||
auth = getDeviceAuth()
|
||||
|
||||
Reference in New Issue
Block a user