Skip to content

Commit 4a6fce2

Browse files
committed
import zoneinfo in function scope
1 parent 7ae28af commit 4a6fce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firebirdsql/tz_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
# Python DB-API 2.0 module for Firebird.
2727
##############################################################################
2828
from firebirdsql.tz_map import timezone_name_by_id, timezone_id_by_name
29-
import zoneinfo
3029

3130

3231
def get_tzinfo_by_name(name):
32+
import zoneinfo
3333
return zoneinfo.ZoneInfo(name)
3434

3535

0 commit comments

Comments
 (0)