mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-15 16:04:01 +00:00
replace error with warning (#3554)
This commit is contained in:
parent
7000a47c74
commit
20b17f0e90
@ -840,7 +840,7 @@ def file_revisions(request, repo_id):
|
||||
if suffix_list and isinstance(suffix_list, list):
|
||||
suffix_list = [x.lower() for x in suffix_list]
|
||||
else:
|
||||
logger.error('Wrong type of suffix_list: %s' % repr(suffix_list))
|
||||
logger.warning('Wrong type of suffix_list: %s' % repr(suffix_list))
|
||||
suffix_list = []
|
||||
|
||||
use_new_api = True if file_ext in suffix_list else False
|
||||
|
Loading…
Reference in New Issue
Block a user