annalen integration
This commit is contained in:
+2
-1
@@ -42,10 +42,11 @@ def searh():
|
||||
if f_arg not in ['content', 'from']:
|
||||
return "field '" + f_arg + "' does not exist"
|
||||
|
||||
print("annalen /search k_arg=" + k_arg + " l_arg=" + l_arg + " f_arg=" + f_arg)
|
||||
|
||||
lists = []
|
||||
if l_arg == "all":
|
||||
lists = wconfig.lists_to_serve
|
||||
lists = archive.list_tables_db(config.db['database'], config.db['host'], config.db['user'], config.db['password'])
|
||||
else:
|
||||
lists.append(l_arg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user