fix: repository not ready only if in download

This commit is contained in:
tdurieux
2021-09-07 07:28:24 +02:00
parent f0788810a9
commit 8946f57f07
+1 -1
View File
@@ -137,7 +137,7 @@ export default class Repository {
yesterday.setDate(yesterday.getDate() - 1);
if (this._model.options.update && this._model.lastView < yesterday) {
if (this._model.status != "ready") {
if (this._model.status == "download") {
throw new AnonymousError("repository_not_ready", this);
}