diff options
Diffstat (limited to 'tablib/formats/_tsv.py')
| -rw-r--r-- | tablib/formats/_tsv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/formats/_tsv.py b/tablib/formats/_tsv.py index f581f81..ac9554c 100644 --- a/tablib/formats/_tsv.py +++ b/tablib/formats/_tsv.py @@ -55,5 +55,5 @@ def detect(stream): try: csv.Sniffer().sniff(stream, delimiters='\t') return True - except csv.Error: + except (csv.Error, TypeError): return False |
