add disable_cachew helper
This commit is contained in:
parent
121ed58c17
commit
21e82f0cd6
3 changed files with 36 additions and 12 deletions
|
@ -11,6 +11,6 @@ tz_lookup = {
|
|||
tz_lookup['UTC'] = pytz.utc # ugh. otherwise it'z Zulu...
|
||||
|
||||
|
||||
@lru_cache(-1)
|
||||
@lru_cache(None)
|
||||
def abbr_to_timezone(abbr: str):
|
||||
return tz_lookup[abbr]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue