fixed copy me that importer
This commit is contained in:
@ -169,7 +169,7 @@ class Integration:
|
|||||||
|
|
||||||
for z in file_list:
|
for z in file_list:
|
||||||
try:
|
try:
|
||||||
if not hasattr(z, 'filename'):
|
if not hasattr(z, 'filename') or type(z) == Tag:
|
||||||
recipe = self.get_recipe_from_file(z)
|
recipe = self.get_recipe_from_file(z)
|
||||||
else:
|
else:
|
||||||
recipe = self.get_recipe_from_file(BytesIO(import_zip.read(z.filename)))
|
recipe = self.get_recipe_from_file(BytesIO(import_zip.read(z.filename)))
|
||||||
|
Reference in New Issue
Block a user