Add support for running on Python 3.8

This commit is contained in:
2Shirt 2021-05-07 23:51:48 -06:00
parent 1f618a4152
commit de6ee523b0
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -18,7 +18,12 @@ import time
import traceback
from collections import OrderedDict
from functools import cache
try:
from functools import cache
except ImportError:
# Assuming Python is < 3.9
from functools import lru_cache as cache
import requests