py.lib

John Y. 2017-04-09 Parent:f35759c0fdd0 Child:5236a9505448

1:8dcee5f5df4f Browse Files

* Косячим не отходя от кассы

awNet/db/sqlite.py

     1.1 --- a/awNet/db/sqlite.py	Sun Apr 09 12:13:01 2017 +0300
     1.2 +++ b/awNet/db/sqlite.py	Sun Apr 09 12:16:55 2017 +0300
     1.3 @@ -23,7 +23,8 @@
     1.4  		# DB PREP
     1.5  		self.cq("PRAGMA journal=WAL")
     1.6  	
     1.7 -	def 
     1.8 +	def __call__(self, *a, **wa):
     1.9 +		return self.q(*a, **wa)
    1.10  	
    1.11  	def __del__(self):
    1.12  		if self._con == None: return