Skip to content

Commit

Permalink
fix version conditional imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kjmeagher committed Oct 4, 2023
1 parent 334cb83 commit 71d5dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multizone.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
else:
import zoneinfo
if sys.version_info < (3, 10):
from xdg_base_dirs import xdg_config_home
else:
from xdg import xdg_config_home
else:
from xdg_base_dirs import xdg_config_home
if sys.version_info < (3, 11):
import tomli as tomllib
else:
Expand Down

0 comments on commit 71d5dfd

Please sign in to comment.