Addon Manager: Correct typo

This commit is contained in:
Chris Hennes
2022-01-08 22:39:42 -06:00
parent 3c937a5f8d
commit e4bb4e7db7

View File

@@ -58,6 +58,8 @@ try:
# some versions of git module have no "Repo" class?? Bug #4072 module
# 'git' has no attribute 'Repo'
have_git = hasattr(git, "Repo")
if not have_git:
FreeCAD.Console.PrintMessage("'import git' gave strange results (no Repo attribute)...")
except ImportError:
pass
@@ -681,7 +683,7 @@ class CacheMacroCode(QtCore.QThread):
worker.blockSignals(True)
worker.requestInterruption()
if not worker.wait(100):
FreeCAD.PrintWarning(
FreeCAD.Console.PrintWarning(
f"Addon Manager: a worker process failed to halt ({worker.macro.name})"
)
return