git.fiddlerwoaroof.com
Browse code

fixing the id generator in Proxy

Ed L authored on 07/06/2011 22:54:32
Showing 1 changed files
... ...
@@ -73,12 +73,11 @@ class ProxyEvents(object):
73 73
 	'''An event handler for JSONRPCProxy'''
74 74
 
75 75
 	#: an instance of a class which defines a __get__ method, used to generate a request id
76
-	IDGen = IDGen
76
+	IDGen = IDGen()
77 77
 
78 78
 
79 79
 	def __init__(self, proxy):
80 80
 		'''Allow a subclass to do its own initialization, gets any arguments leftover from __init__'''
81
-		self.IDGen = self.IDGen()
82 81
 		self.proxy = proxy
83 82
 
84 83
 	def get_params(self, args, kwargs):