summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorN9199 <N9199@users.noreply.github.com>2022-06-14 18:41:50 -0400
committerCalum Lind <calumlind+deluge@gmail.com>2022-06-19 19:02:11 +0100
commitcbacaf0545b93de875522915bd66ae9637c6d9da (patch)
treee80b3630775320508f105b06e244fc959c2f6a57
parent75db47fc1f2441c08b84e100f0da6b128f655645 (diff)
downloaddeluge-develop.tar.gz
deluge-develop.tar.bz2
deluge-develop.zip
[Core] Fix typo in AUTH_LEVEL_MAPPINGHEADdevelop
Closes: https://github.com/deluge-torrent/deluge/pull/387
-rw-r--r--deluge/core/authmanager.py4
1 files 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()}