diff --git a/help_online/models/export_help_wizard.py b/help_online/models/export_help_wizard.py index d8290e74..81063184 100644 --- a/help_online/models/export_help_wizard.py +++ b/help_online/models/export_help_wizard.py @@ -292,7 +292,7 @@ class ExportHelpWizard(models.TransientModel): backup_file = open(filename, 'w') backup_file.write(xml_data) - backup_file.close + backup_file.close() except: _logger.warning(_('Unable to write autobackup file ' 'in given directory: %s' diff --git a/web_export_view/__init__.py b/web_export_view/__init__.py index 994ad368..9a651413 100644 --- a/web_export_view/__init__.py +++ b/web_export_view/__init__.py @@ -18,4 +18,4 @@ # along with this program. If not, see . # ############################################################################## -import controllers +from . import controllers diff --git a/web_export_view/controllers/__init__.py b/web_export_view/controllers/__init__.py index 994ad368..9a651413 100644 --- a/web_export_view/controllers/__init__.py +++ b/web_export_view/controllers/__init__.py @@ -18,4 +18,4 @@ # along with this program. If not, see . # ############################################################################## -import controllers +from . import controllers