diff options
-rw-r--r-- | yaksh/file_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/file_utils.py b/yaksh/file_utils.py index c53c2dc..b178eeb 100644 --- a/yaksh/file_utils.py +++ b/yaksh/file_utils.py @@ -60,7 +60,7 @@ def is_csv(document): document.seek(0) content = document.read(1024) sniffer = csv.Sniffer() - dialect = sniffer.sniff(content) + dialect = sniffer.sniff(content, delimiters=',') document.seek(0) except (csv.Error, UnicodeDecodeError): return False, None |