summaryrefslogtreecommitdiffstats
path: root/pywrap/server.py
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-15 13:41:25 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-15 13:41:25 +0100
commit398e756263502a98a0c1887dcf38f7ef1fafa84b (patch)
tree08383da800a8ea529ddad06648399920c27abbce /pywrap/server.py
parenta4f3ac0b00694287e791cd7d753b420976d9f22a (diff)
downloadpcitool-398e756263502a98a0c1887dcf38f7ef1fafa84b.tar.gz
pcitool-398e756263502a98a0c1887dcf38f7ef1fafa84b.tar.bz2
pcitool-398e756263502a98a0c1887dcf38f7ef1fafa84b.tar.xz
pcitool-398e756263502a98a0c1887dcf38f7ef1fafa84b.zip
Fix memory leaks
Add GIL states for int pcilib_script_read and pcilib_script_write functions Correct desctructor for create_pcilib_instance return object
Diffstat (limited to 'pywrap/server.py')
-rw-r--r--pywrap/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywrap/server.py b/pywrap/server.py
index d2927fb..f55d43a 100644
--- a/pywrap/server.py
+++ b/pywrap/server.py
@@ -105,7 +105,7 @@ class PcilibServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
#parse command arguments and convert them to string
branch = data.get('branch', None)
if not branch is None:
- branch = str(bank)
+ branch = str(branch)
properties = dict()
try: