mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
Update level of the debug for admin.py
This commit is contained in:
@@ -46,7 +46,7 @@ class Admin:
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
if not result:
|
if not result:
|
||||||
self.Logs.critical(f'The new nickname {newNickname} was not updated, uid = {uid}')
|
self.Logs.debug(f'The new nickname {newNickname} was not updated, uid = {uid} - The Client is not an admin')
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ class Admin:
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
if not result:
|
if not result:
|
||||||
self.Logs.critical(f'The new level {newLevel} was not updated, nickname = {nickname}')
|
self.Logs.debug(f'The new level {newLevel} was not updated, nickname = {nickname} - The Client is not an admin')
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user