diff --git a/maubot/cli/commands/build.py b/maubot/cli/commands/build.py index cd359e0..3e90f6a 100644 --- a/maubot/cli/commands/build.py +++ b/maubot/cli/commands/build.py @@ -28,7 +28,7 @@ from ...loader import PluginMeta from ..cliq.validators import PathValidator from ..base import app from ..config import config -from .upload import upload_file, UploadError +from .upload import upload_file yaml = YAML() diff --git a/maubot/cli/commands/upload.py b/maubot/cli/commands/upload.py index f307f6f..8da3558 100644 --- a/maubot/cli/commands/upload.py +++ b/maubot/cli/commands/upload.py @@ -15,7 +15,7 @@ # along with this program. If not, see . from urllib.request import urlopen, Request from urllib.error import HTTPError -from typing import IO, Tuple +from typing import IO import json from colorama import Fore