UnpicklingError, not UnpickleError
[invirt/packages/invirt-vnc-server.git] / python / vnc / extauth.py
index 12176ca..c986771 100644 (file)
@@ -78,7 +78,7 @@ class VNCAuth(protocol.Protocol):
                     self.auth_data = data
                 else:
                     self.auth_error = "Token has expired; please try logging in again"
-        except (TypeError, ValueError, cPickle.UnpickleError):
+        except (TypeError, ValueError, cPickle.UnpicklingError):
             self.auth = None            
             print sys.exc_info()