From 270d36f59f3fde8ecc4bd72245e4f834cd81d91e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Apr 2012 09:25:08 +0530 Subject: [PATCH] ... --- src/calibre/library/server/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))