rabin 7 yıl önce
ebeveyn
işleme
69a89f6f56
2 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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'