Skip to content

Commit ff38a9a

Browse files
committed
Fix local timezone handling for unaware timestamps
1 parent 5836663 commit ff38a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tptools/tpmatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
logger = logging.getLogger(__name__)
2424

25-
LOCAL_TZ = tzlocal = tzlocal.get_localzone()
25+
LOCAL_TZ = tzlocal.get_localzone()
2626

2727

2828
class TPMatchStatus(StrEnum):

0 commit comments

Comments
 (0)