rabin 5 years ago
parent
commit
f5e752fe16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      demeter/core.py

+ 1 - 0
demeter/core.py

@@ -441,6 +441,7 @@ class Demeter(object):
 		pool = redis.ConnectionPool(host=config['host'], password=config['password'], port=int(config['port']))
 		return redis.Redis(connection_pool=pool)
 
+	@classmethod
 	def sync(self, table, id):
 		if 'sync' in Demeter.config:
 			config = Demeter.config['sync']['table'].split(',')