Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion backend/config_files/capabilities_template
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,47 @@
"path": "john-local.conf",
"sha1": "",
"last_change": null
}
},

"dewiki.txt": {
"type": "dict",
"path": "dict/dewiki.txt",
"sha1": "",
"last_change": null
},

"frwiki.txt": {
"type": "dict",
"path": "dict/frwiki.txt",
"sha1": "",
"last_change": null
},

"eswiki.txt": {
"type": "dict",
"path": "dict/eswiki.txt",
"sha1": "",
"last_change": null
},

"titles-dewiki.txt": {
"type": "dict",
"path": "dict/titles-dewiki.txt",
"sha1": "",
"last_change": null
},

"titles-frwiki.txt": {
"type": "dict",
"path": "dict/titles-frwiki.txt",
"sha1": "",
"last_change": null
},

"titles-eswiki.txt": {
"type": "dict",
"path": "dict/titles-eswiki.txt",
"sha1": "",
"last_change": null
}
}
4 changes: 3 additions & 1 deletion backend/helper_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def get_unique_id():
with open("dump_cristi.json", "w") as fd:
json.dump(lst, fd, indent=4)

print("muie")
sys.exit(0)

# Treat simple fields
Expand All @@ -58,6 +57,9 @@ def get_unique_id():
if "reserved" not in clean_entry:
clean_entry["reserved"] = None

if "languages" not in clean_entry:
clean_entry["languages"] = None

if "user" in clean_entry:
del clean_entry["user"]
clean_entry["users"] = [entry["user"]]
Expand Down
Loading