From ecc18431190c2a3aae5c129013cb239c6e0635da Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 13 Dec 2018 23:36:04 +0200 Subject: [PATCH] Remove unused imports --- maubot/cli/commands/build.py | 2 +- maubot/cli/commands/upload.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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