diff --git a/util.py b/util.py index 12e9aae..3b35ffc 100644 --- a/util.py +++ b/util.py @@ -1,4 +1,3 @@ -import commands.login import shutil import textwrap from typing import Any, Callable @@ -27,7 +26,7 @@ def print_wrap(text: str, indent: str = '', end: str = '\n') -> None: def require_login(function: Callable) -> Callable: def wrapper(*args: Any, **kwargs: Any) -> Any: while 'api_token' not in Config['user']: - commands.login.login(None) + print('Not logged in. Please use the login command to log in.') return function(*args, **kwargs)