Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BitTheByte committed Apr 12, 2024
1 parent 32b0ad2 commit 7000f97
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions monitorizer/inventory/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@


def environment_callback(request):
if settings.DEBUG:
return ["Development", "warning"]

return ["Production", "info"]
if not settings.DEBUG:
return
return ["Development", "warning"]


def dashboard_callback(request, context):
Expand Down

0 comments on commit 7000f97

Please sign in to comment.