Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
U039b committed Sep 21, 2024
1 parent 4317f58 commit ca1029e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions threatr/core/api/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ def list(self, _):
# Undefined in dev mode
try:
commit_hash = settings.GIT_COMMIT_HASH
except: pass
except: pass # noqa: E722, E701
status_data = {
'git_commit_hash': commit_hash,
'available_modules': ModulesView.get_module_list(),
'workers': [
{
'id':stat.cluster_id,
'id': stat.cluster_id,
'status': stat.status,
'uptime': stat.uptime(),
'enqueued_tasks': stat.task_q_size,
Expand Down

0 comments on commit ca1029e

Please sign in to comment.