From ed8873969d8e5ff6567c2c74bf9764f6618ae777 Mon Sep 17 00:00:00 2001 From: amosbastian Date: Tue, 19 Feb 2019 01:24:35 +0100 Subject: [PATCH] Remove unused imports cli.py --- fpl/cli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fpl/cli.py b/fpl/cli.py index 90abffd..2ab741c 100644 --- a/fpl/cli.py +++ b/fpl/cli.py @@ -3,13 +3,12 @@ import aiohttp import click -import requests from appdirs import user_data_dir from prettytable import PrettyTable from fpl import FPL -from .constants import API_URLS, MYTEAM_FORMAT, PICKS_FORMAT +from .constants import MYTEAM_FORMAT, PICKS_FORMAT from .utils import chip_converter data_directory = user_data_dir("fpl", "fpl") @@ -102,7 +101,7 @@ def used_chips(chips): """Returns formatted string of used chips.""" if not chips: return "NONE." - used = ["{} (GW {})".format(chip_converter(chip["name"], chip["event"]))] + used = ["{} (GW {})".format(chip_converter(chip["name"]), chip["event"])] return ", ".join(used)