mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-16 00:36:22 +00:00
Removes support for Python 3.8 and lower from the code base
This commit is contained in:

committed by
Trenton H

parent
c8bfbb9315
commit
650c816a7b
@@ -155,10 +155,8 @@ def settings_values_check(app_configs, **kwargs):
|
||||
"""
|
||||
Validates the user provided timezone is a valid timezone
|
||||
"""
|
||||
try:
|
||||
import zoneinfo
|
||||
except ImportError: # pragma: nocover
|
||||
from backports import zoneinfo
|
||||
import zoneinfo
|
||||
|
||||
msgs = []
|
||||
if settings.TIME_ZONE not in zoneinfo.available_timezones():
|
||||
msgs.append(
|
||||
|
Reference in New Issue
Block a user