From 1a384391159d3879efe4db57e0e2f73e3c816a65 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Fri, 7 Dec 2018 18:47:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/memcached/index.py | 2 ++ plugins/redis/index.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/memcached/index.py b/plugins/memcached/index.py index a865f76a3..6c0663fae 100755 --- a/plugins/memcached/index.py +++ b/plugins/memcached/index.py @@ -9,6 +9,8 @@ sys.path.append(os.getcwd() + "/class/core") import public app_debug = False +if public.getOs() == 'darwin': + app_debug = True def getPluginName(): diff --git a/plugins/redis/index.py b/plugins/redis/index.py index 6e77e0ee6..b44548126 100755 --- a/plugins/redis/index.py +++ b/plugins/redis/index.py @@ -9,6 +9,8 @@ sys.path.append(os.getcwd() + "/class/core") import public app_debug = False +if public.getOs() == 'darwin': + app_debug = True def getPluginName():