diff --git a/src/calibre/library/server/utils.py b/src/calibre/library/server/utils.py index cfe753bdc6..5d694a8ead 100644 --- a/src/calibre/library/server/utils.py +++ b/src/calibre/library/server/utils.py @@ -119,7 +119,7 @@ class AuthController(object): def generate_cookie(self, timestamp=None): ''' Generate a cookie. The cookie contains a plain text timestamp and a - hashe of the timestamp and the server secret. + hash of the timestamp and the server secret. ''' timestamp = int(time.time()) if timestamp is None else timestamp key = self.hashit(self.key_order%dict(t=timestamp, s=self.secret))