Toolbox/SingleApplication.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 Toolbox/SingleApplication.py
--- a/Toolbox/SingleApplication.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Toolbox/SingleApplication.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the single application server and client.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtNetwork import QLocalServer, QLocalSocket
 
 
@@ -20,7 +22,7 @@
         
         @param name name this server is listening to (string)
         """
-        super().__init__()
+        super(SingleApplicationServer, self).__init__()
         
         res = self.listen(name)
         if not res:

eric ide

mercurial