Skip to content

Commit

Permalink
do not upoload json to fstore
Browse files Browse the repository at this point in the history
  • Loading branch information
fedya committed Nov 29, 2021
1 parent bcde09b commit 269190c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abf/console/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def is_text_file(path):
m.load()
r = m.file(path)
log.debug(_("Magic type of file %(path)s is %(type)s") % {'path': path, 'type': r})
if r.startswith('text'):
if r.startswith('text') or r.startswith('application/json'):
return True
return False

Expand Down

0 comments on commit 269190c

Please sign in to comment.