Commit 324736d2 authored by Michal Čihař's avatar Michal Čihař

Correctly get ID of a check

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent fd12eab0
......@@ -843,7 +843,7 @@ class Unit(models.Model):
# Run source checks as well
for check in CHECKS:
if CHECKS[check].source:
checks_to_run[check.check_id] = CHECKS[check]
checks_to_run[CHECKS[check].check_id] = CHECKS[check]
cleanup_checks = False
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment