1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

Added todo, removed import

Added a TODO on the incase plugins need it line, and removed the unused
sys import
This commit is contained in:
A_D 2020-07-08 21:24:15 +02:00
parent 09f5dfff23
commit 1481c3d13e
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -4,6 +4,8 @@ from builtins import object
import base64
import csv
import requests
# TODO: see https://github.com/EDCD/EDMarketConnector/issues/569
from http.cookiejar import LWPCookieJar # No longer needed but retained in case plugins use it
from email.utils import parsedate
import hashlib
@ -11,7 +13,6 @@ import numbers
import os
from os.path import join
import random
import sys
import time
from traceback import print_exc
import urllib.parse
@ -129,7 +130,7 @@ def listify(thing):
return retval
else:
raise ValueError("expected an array or sparse array")
raise ValueError("expected an array or sparse array, got {!r}".format(thing))
class ServerError(Exception):