rabin 7 years ago
parent
commit
69a89f6f56
2 changed files with 3 additions and 3 deletions
  1. 1 1
      README.rst
  2. 2 2
      demeter/core.py

+ 1 - 1
README.rst

@@ -4,4 +4,4 @@
 框架:gevent+tornado+demeter类库
 
 安装:
-pip install git+https://github.com/shemic/demeter
+pip install -U git+https://github.com/shemic/demeter

+ 2 - 2
demeter/core.py

@@ -36,8 +36,8 @@ class Demeter(object):
 			state = False
 		return state
 
-	@staticmethod
-	def getConfig():
+	@classmethod
+	def getConfig(self):
 		state = self.checkPy3()
 		if state:
 			module = 'ConfigParser'