From cbacaf0545b93de875522915bd66ae9637c6d9da Mon Sep 17 00:00:00 2001 From: N9199 Date: Tue, 14 Jun 2022 18:41:50 -0400 Subject: [Core] Fix typo in AUTH_LEVEL_MAPPING Closes: https://github.com/deluge-torrent/deluge/pull/387 --- deluge/core/authmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/core/authmanager.py b/deluge/core/authmanager.py index 8db4902df..3ff8a3ad9 100644 --- a/deluge/core/authmanager.py +++ b/deluge/core/authmanager.py @@ -28,8 +28,8 @@ log = logging.getLogger(__name__) AUTH_LEVELS_MAPPING = { 'NONE': AUTH_LEVEL_NONE, 'READONLY': AUTH_LEVEL_READONLY, - 'DEFAULT': AUTH_LEVEL_NORMAL, - 'NORMAL': AUTH_LEVEL_DEFAULT, + 'DEFAULT': AUTH_LEVEL_DEFAULT, + 'NORMAL': AUTH_LEVEL_NORMAL, 'ADMIN': AUTH_LEVEL_ADMIN, } AUTH_LEVELS_MAPPING_REVERSE = {v: k for k, v in AUTH_LEVELS_MAPPING.items()} -- cgit