From a12bc59b17865b0d8d73385412919793725e281f Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 24 Jul 2021 12:21:51 -0700 Subject: [PATCH] Remove some old unnecessary globals. --- voussoirkit/downloady.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/voussoirkit/downloady.py b/voussoirkit/downloady.py index f29db0b..818738e 100644 --- a/voussoirkit/downloady.py +++ b/voussoirkit/downloady.py @@ -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