diff options
author | N9199 <N9199@users.noreply.github.com> | 2022-06-14 18:41:50 -0400 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-06-19 19:02:11 +0100 |
commit | cbacaf0545b93de875522915bd66ae9637c6d9da (patch) | |
tree | e80b3630775320508f105b06e244fc959c2f6a57 /deluge | |
parent | 75db47fc1f2441c08b84e100f0da6b128f655645 (diff) | |
download | deluge-cbacaf0545b93de875522915bd66ae9637c6d9da.tar.gz deluge-cbacaf0545b93de875522915bd66ae9637c6d9da.tar.bz2 deluge-cbacaf0545b93de875522915bd66ae9637c6d9da.zip |
[Core] Fix typo in AUTH_LEVEL_MAPPING
Closes: https://github.com/deluge-torrent/deluge/pull/387
Diffstat (limited to 'deluge')
-rw-r--r-- | deluge/core/authmanager.py | 4 |
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()} |