移除txt导出格式

This commit is contained in:
Jing Ling
2020-03-03 22:27:20 +08:00
parent 8ba5b4d747
commit 5529737988
5 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ def check_format(format, count):
:param count: 数量
:return: 导出格式
"""
formats = ['txt', 'rst', 'csv', 'tsv', 'json', 'yaml', 'html',
formats = ['rst', 'csv', 'tsv', 'json', 'yaml', 'html',
'jira', 'xls', 'xlsx', 'dbf', 'latex', 'ods']
if format == 'xls' and count > 65000:
logger.log('ALERT', 'xls文件限制为最多65000行')