From b347187ff94f59538a28ff010135c4589c9d1498 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Mon, 21 Jun 2021 14:46:30 +0200 Subject: [PATCH] small hint added --- .../about_upgrade_mightyscape/about_upgrade_mightyscape.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/fablabchemnitz/about_upgrade_mightyscape/about_upgrade_mightyscape.py b/extensions/fablabchemnitz/about_upgrade_mightyscape/about_upgrade_mightyscape.py index 16bde5cf..09802444 100644 --- a/extensions/fablabchemnitz/about_upgrade_mightyscape/about_upgrade_mightyscape.py +++ b/extensions/fablabchemnitz/about_upgrade_mightyscape/about_upgrade_mightyscape.py @@ -100,8 +100,9 @@ class AboutUpgradeMightyScape(inkex.EffectExtension): gitDir = os.path.join(main_dir, ".git") if not os.path.exists(gitDir): - self.msg("MightyScape .git directory was not found. It seems you installed MightyScape the traditional way (by downloading and extracting from archive). Please install MightyScape using the git pull method if you want to use the upgrade function. More details can be found in the official README.") + self.msg("MightyScape .git directory was not found. It seems you installed MightyScape the traditional way (by downloading and extracting from archive). Please install MightyScape using the git clone method if you want to use the upgrade function. More details can be found in the official README.") exit(1) + #Possible option: turn the zip installation into a .git one by cloning over the recent extension dir. could be added as ugprader option. local_repo = Repo(gitDir) #check if it is a non-empty git repository