mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
parent
045bfb9502
commit
c0fb1dbbdc
20 changed files with 333 additions and 1122 deletions
|
@ -1,13 +0,0 @@
|
|||
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