mirror of
https://github.com/krateng/maloja.git
synced 2025-04-04 19:20:03 +03:00
fix and/or mistake
This commit is contained in:
parent
5c343053d9
commit
300e2c1ff7
@ -9,7 +9,7 @@ from .pkg_global.conf import malojaconfig
|
||||
|
||||
OFFSET = malojaconfig["TIMEZONE"]
|
||||
LOCATION_TIMEZONE = malojaconfig["LOCATION_TIMEZONE"]
|
||||
TIMEZONE = timezone(timedelta(hours=OFFSET)) if not LOCATION_TIMEZONE and LOCATION_TIMEZONE in zoneinfo.available_timezones() else zoneinfo.ZoneInfo(LOCATION_TIMEZONE)
|
||||
TIMEZONE = timezone(timedelta(hours=OFFSET)) if not LOCATION_TIMEZONE or LOCATION_TIMEZONE not in zoneinfo.available_timezones() else zoneinfo.ZoneInfo(LOCATION_TIMEZONE)
|
||||
UTC = timezone.utc
|
||||
|
||||
FIRST_SCROBBLE = int(datetime.now(UTC).timestamp())
|
||||
|
Loading…
x
Reference in New Issue
Block a user