diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index 0b34e8f978..cf39f5b538 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -35,6 +35,9 @@ else: def QT_TRANSLATE_NOOP(ctxt,txt): return txt # \endcond +import sys +if sys.version_info.major >= 3: + unicode = str ## @package ArchBuildingPart # \ingroup ARCH