mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Update apscheduler==3.8.1
This commit is contained in:
parent
a6c933cfce
commit
973cad264f
20 changed files with 1122 additions and 333 deletions
13
lib/pytz_deprecation_shim/_common.py
Normal file
13
lib/pytz_deprecation_shim/_common.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import sys
|
||||
|
||||
_PYTZ_IMPORTED = False
|
||||
|
||||
|
||||
def pytz_imported():
|
||||
"""Detects whether or not pytz has been imported without importing pytz."""
|
||||
global _PYTZ_IMPORTED
|
||||
|
||||
if not _PYTZ_IMPORTED and "pytz" in sys.modules:
|
||||
_PYTZ_IMPORTED = True
|
||||
|
||||
return _PYTZ_IMPORTED
|
Loading…
Add table
Add a link
Reference in a new issue