From b63a54a09e3a9e14a4668ec86c4bc787809dbfe9 Mon Sep 17 00:00:00 2001 From: lumapu Date: Sat, 25 Feb 2023 01:50:23 +0100 Subject: [PATCH] 0.5.91 fix workflow --- src/web/html/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/html/convert.py b/src/web/html/convert.py index 22a600ce..4846a9b9 100644 --- a/src/web/html/convert.py +++ b/src/web/html/convert.py @@ -6,7 +6,6 @@ import shutil import pkg_resources from datetime import date from pathlib import Path -from dulwich import porcelain required_pkgs = {'dulwich'} installed_pkgs = {pkg.key for pkg in pkg_resources.working_set} @@ -15,6 +14,7 @@ missing_pkgs = required_pkgs - installed_pkgs if missing_pkgs: env.Execute('"$PYTHONEXE" -m pip install dulwich') +from dulwich import porcelain def get_git_sha(): try: