Another potentially annoying typo
[OpenSRF.git] / src / python / osrf / ses.py
index 0940ac3..799b1cf 100644 (file)
@@ -147,7 +147,7 @@ class ClientSession(Session):
 
         if self.state == OSRF_APP_SESSION_CONNECTED:
             return True
-        self.state == OSRF_APP_SESSION_CONNECTING
+        self.state = OSRF_APP_SESSION_CONNECTING
 
         # construct and send a CONNECT message
         self.send(