From 7037c7ef8fc55f98f65a6c74a5cf6cf0636294a7 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Mon, 8 May 2017 21:47:07 -0700 Subject: [PATCH] python u dick --- webapp/titanembeds/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/utils.py b/webapp/titanembeds/utils.py index d54d98f..df2ad51 100644 --- a/webapp/titanembeds/utils.py +++ b/webapp/titanembeds/utils.py @@ -32,7 +32,7 @@ def make_cache_key(*args, **kwargs): sess = generate_session_key() return (path + args + sess + ip).encode('utf-8') -def make_user_cache_key(*args, **kwargs) +def make_user_cache_key(*args, **kwargs): ip = get_client_ipaddr() sess = generate_session_key() return (sess + ip).encode('utf-8')