Skip to content

Commit

Permalink
fix: resolved #137; deleted useless database
Browse files Browse the repository at this point in the history
  • Loading branch information
camarm-dev committed May 20, 2024
1 parent b5df56e commit fe1c0f3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,9 @@ def root():
"total": entities,
"dictionnaires": {
"remede": {
"nom": "Remède complet ~310Mb",
"nom": "Remède ~310Mb",
"slug": "remede",
"hash": DATASET
},
"remede-less": {
"nom": "Remède mini ~220Mb",
"slug": "remede-less",
"hash": DATASET_LESS
}
}
}
Expand Down Expand Up @@ -270,7 +265,6 @@ def download_binary(variant: BinariesVariant):
}

DATASET = md5(open('data/remede.db', 'rb').read()).hexdigest()[0:7]
DATASET_LESS = md5(open('data/remede-less.db', 'rb').read()).hexdigest()[0:7]

SHEETS = get_sheets()
SHEETS_BY_SLUG = {f"{sheet['slug']}": sheet for sheet in SHEETS}
Expand Down

0 comments on commit fe1c0f3

Please sign in to comment.