if authentication with the session fails try authenticating with hmac
[nodemanager.git] / nm.py
diff --git a/nm.py b/nm.py
index e9ca6d6..05eaee7 100755 (executable)
--- a/nm.py
+++ b/nm.py
@@ -127,7 +127,7 @@ def run():
         if os.path.exists(options.session):
             session = file(options.session).read().strip()
         else:
-            session = options.session
+            session = None
 
         # Initialize XML-RPC client
         iperiod=int(options.period)