Skip to content

Commit

Permalink
Small fix for git decorator (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev authored and nmanovic committed Feb 25, 2019
1 parent 99f885e commit f99c7ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cvat/apps/dashboard/static/dashboard/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ class DashboardView {
setTimeout(checkCallback, 1000);
} else {
if (data.state === 'Finished') {
onSuccess(tid);
onSuccess();
}
else if (data.state === 'Failed') {
const message = `Can not create task. ${data.message}`;
Expand Down
2 changes: 1 addition & 1 deletion cvat/apps/engine/annotation_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os
import copy
import Enum
from enum import Enum
from django.utils import timezone
from collections import OrderedDict
import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions cvat/apps/git/static/git/js/dashboardPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ window.addEventListener('dashboardReady', () => {
taskMessage.text(message);
onFault();
});
} else {
next();
}
});
});

0 comments on commit f99c7ab

Please sign in to comment.