]> git.jsancho.org Git - datasette-pytables.git/commitdiff
Minor bug when returning data for patched sqlite queries
authorJavier Sancho <jsf@jsancho.org>
Mon, 8 Oct 2018 11:17:08 +0000 (13:17 +0200)
committerJavier Sancho <jsf@jsancho.org>
Mon, 8 Oct 2018 11:17:08 +0000 (13:17 +0200)
datasette_pytables/__init__.py

index 45d3a323509e93e8ce89624f27cd4063089f4ead..52979829a08a3709629d6e5ffe9c7a3750bbefd7 100644 (file)
@@ -81,7 +81,7 @@ class Connection:
 
         if parsed_sql['from'] == 'sqlite_master':
             rows = self._execute_datasette_query(sql, params)
 
         if parsed_sql['from'] == 'sqlite_master':
             rows = self._execute_datasette_query(sql, params)
-            description = (('value',))
+            description = (('value',),)
             return rows, truncated, description
 
         table = self.h5file.get_node(parsed_sql['from'])
             return rows, truncated, description
 
         table = self.h5file.get_node(parsed_sql['from'])