mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-14 07:39:05 +00:00
Added Media, Picture and Text file parsers
This commit is contained in:
3
run.py
3
run.py
@@ -8,7 +8,7 @@ app = Flask(__name__)
|
||||
app.secret_key = "A very secret key"
|
||||
storage = LocalStorage("local_storage.db")
|
||||
|
||||
# tm = TaskManager(storage)
|
||||
tm = TaskManager(storage)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
@@ -32,6 +32,7 @@ def directory_add():
|
||||
d = Directory(path, True, [], name)
|
||||
|
||||
try:
|
||||
d.set_default_options()
|
||||
storage.save_directory(d)
|
||||
flash("<strong>Created directory</strong>", "success")
|
||||
except DuplicateDirectoryException:
|
||||
|
||||
Reference in New Issue
Block a user