Remove some old unnecessary globals.

This commit is contained in:
voussoir 2021-07-24 12:21:51 -07:00
parent 6fb996f153
commit a12bc59b17
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -23,13 +23,10 @@ HEADERS = {
FILENAME_BADCHARS = '*?"<>|\r\n'
last_request = 0
CHUNKSIZE = 4 * bytestring.KIBIBYTE
TIMEOUT = 60
TEMP_EXTENSION = '.downloadytemp'
PRINT_LIMITER = ratelimiter.Ratelimiter(allowance=5, mode='reject')
SPECIAL_FILENAMES = [os.devnull]
if os.name == 'nt':
SPECIAL_FILENAMES.append('con')
@ -430,7 +427,6 @@ def touch(filename):
f.close()
return
def download_argparse(args):
url = args.url