diff options
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r-- | ishtar_common/models_imports.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py index e530b54e3..799b3aab9 100644 --- a/ishtar_common/models_imports.py +++ b/ishtar_common/models_imports.py @@ -171,8 +171,8 @@ class ImporterType(models.Model): uno = UnoCalc() calc = uno.create_calc() - main_sheet = uno.get_sheet(calc, 0, self.name) - lst_sheet = uno.get_sheet(calc, 1, str(_("List types"))) + main_sheet = uno.get_or_create_sheet(calc, 0, self.name) + lst_sheet = uno.get_or_create_sheet(calc, 1, str(_("List types"))) if not calc: return |