diff options
| author | 2023-02-19 16:05:49 +0100 | |
|---|---|---|
| committer | 2023-02-19 16:05:49 +0100 | |
| commit | d395bd510fa4f4376dc5237ab2f8d190a920d35d (patch) | |
| tree | 3e3b16b44064938be801aede14381562bae14f6a /deluge/ui/web/auth.py | |
| parent | d1772d410235592b482e3b08b1863f6624d9fe6b (diff) | |
Adding upstream version 2.1.1.upstream/2.1.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'deluge/ui/web/auth.py')
| -rw-r--r-- | deluge/ui/web/auth.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py index fa95049..eacbbf5 100644 --- a/deluge/ui/web/auth.py +++ b/deluge/ui/web/auth.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2009 Damien Churchill <damoxc@gmail.com> # @@ -7,8 +6,6 @@ # See LICENSE for more details. # -from __future__ import unicode_literals - import hashlib import logging import os @@ -60,11 +57,11 @@ def make_expires(timeout): class Auth(JSONComponent): """ - The component that implements authentification into the JSON interface. + The component that implements authentication into the JSON interface. """ def __init__(self, config): - super(Auth, self).__init__('Auth') + super().__init__('Auth') self.worker = LoopingCall(self._clean_sessions) self.config = config |
