Skip to content

Commit

Permalink
Update Base.py
Browse files Browse the repository at this point in the history
Adding timezone as an argument when creating BAC0.lite()
  • Loading branch information
ChristianTremblay authored Mar 18, 2024
1 parent a6e3d3d commit 8266c6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BAC0/scripts/Base.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@ def __init__(
description="http://christiantremblay.github.io/BAC0/",
location="Bromont, Québec",
spin=None,
timezone="America/Montreal",
):

self._log.debug("Configurating app")

self.timehandler = TimeHandler()
self.timehandler = TimeHandler(tz=timezone)

if not _COMPLETE:
self._log.debug(
Expand Down

0 comments on commit 8266c6d

Please sign in to comment.