Skip to content

Commit

Permalink
fix environment variable check
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan6419846 committed Oct 24, 2024
1 parent 171b5f9 commit 16c16ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion license_tools/utils/archive_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# without the fix (at least when not already using UTC as the timezone anyway).
# As far as I could test it, this does not seem to have any relevant
# downsides for license retrieval.
if os.getenv("LICENSE_TOOLS_DISABLE_TZ_WORKAROUND").lower() == "true": # pragma: no cover
if os.getenv("LICENSE_TOOLS_DISABLE_TZ_WORKAROUND", "").lower() == "true": # pragma: no cover
extractcode.libarchive2.set_env_with_tz = lambda: None


Expand Down

0 comments on commit 16c16ba

Please sign in to comment.