diff --git a/src/builder/projects.py b/src/builder/projects.py index b05c7fd3..247e4e3d 100644 --- a/src/builder/projects.py +++ b/src/builder/projects.py @@ -155,7 +155,7 @@ def create_tm_for_all_projects(self): skipped_prjs = 0 skipped_words = 0 for project in self.projects: - if project.license.lower() == Licenses().PROPIETARY: + if project.license.lower() == Licenses().PROPRIETARY: logging.debug( f"Projects. Skipping {project.name} into {self.tm_file} memory" ) diff --git a/src/download_creation.py b/src/download_creation.py index 911735ff..e6a46b05 100755 --- a/src/download_creation.py +++ b/src/download_creation.py @@ -111,7 +111,7 @@ def __init__( self.__setitem__("project_id", project_id) self.__setitem__("projectweb", projectweb) - if license == Licenses().PROPIETARY: + if license == Licenses().PROPRIETARY: self.__setitem__("po_file_text", "") self.__setitem__("po_file_link", "") self.__setitem__("tmx_file_text", "") @@ -231,7 +231,7 @@ def build_combined_memory( create_zipfile(tmx_directory, get_tmx_file(filename), out_directory) for project_dto in projects: - if project_dto.license == Licenses().PROPIETARY: + if project_dto.license == Licenses().PROPRIETARY: continue update_zipfile(po_directory, filename, project_dto.filename, out_directory)