Skip to content

Commit 03dc463

Browse files
committed
get_formats conditional fixed
1 parent f7a01be commit 03dc463

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

import_export_celery/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def get_formats():
2020
return [
2121
format
2222
for format in DEFAULT_FORMATS
23-
if format.CONTENT_TYPE not in EXCLUDED_EXPORT_FORMATS
23+
if format.TABLIB_MODULE.split(".")[-1].strip("_")
24+
not in EXCLUDED_EXPORT_FORMATS
2425
]
2526

2627

0 commit comments

Comments
 (0)