From 0154d44349482f70050eeb45f07d776e29534e25 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 10 May 2021 00:28:24 +0800 Subject: [PATCH] Update index.py --- plugins/mysql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index dfcaec076..fec450b13 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -195,7 +195,7 @@ def binLog(): restart() else: path = getDataDir() - if args.has_key('status'): + if 'status' in args: dsize = 0 for n in os.listdir(path): if len(n) < 9: