mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix for TypeError
File "../datasette/app.py", line 138, in __init__
self.files = files + immutables
TypeError: can only concatenate tuple (not "list") to tuple
This commit is contained in:
parent
47032636b5
commit
82fec60481
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class Datasette:
|
||||||
version_note=None,
|
version_note=None,
|
||||||
):
|
):
|
||||||
immutables = immutables or []
|
immutables = immutables or []
|
||||||
self.files = files + immutables
|
self.files = tuple(files) + tuple(immutables)
|
||||||
self.immutables = set(immutables)
|
self.immutables = set(immutables)
|
||||||
if not self.files:
|
if not self.files:
|
||||||
self.files = [MEMORY]
|
self.files = [MEMORY]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue