improved paprika importer

This commit is contained in:
vabene1111
2021-03-18 14:43:19 +01:00
parent 48c90c483a
commit fe1ddf1237
3 changed files with 42 additions and 51 deletions

View File

@ -84,7 +84,7 @@ class Integration:
try:
self.files = files
for f in files:
if '.zip' in f.name:
if '.zip' in f.name or '.paprikarecipes' in f.name:
import_zip = ZipFile(f.file)
for z in import_zip.filelist:
if self.import_file_name_filter(z):