mirror of
https://github.com/simonw/datasette.git
synced 2026-07-13 11:04:37 +02:00
Merge 689e3b0155 into db82123108
This commit is contained in:
commit
72e3bd76dd
1 changed files with 1 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ class Datasette:
|
|||
db_files = []
|
||||
for ext in ("db", "sqlite", "sqlite3"):
|
||||
db_files.extend(config_dir.glob("*.{}".format(ext)))
|
||||
db_files.sort(key=os.path.getmtime, reverse=True)
|
||||
self.files += tuple(str(f) for f in db_files)
|
||||
if (
|
||||
config_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue