Commits

Erik Svensson committed 5b5fad0

Fixed error in Session.

Comments (0)

Files changed (1)

transmissionrpc/session.py

 
     def __init__(self, fields=None):
         self.fields = {}
-        if fields is None:
+        if fields is not None:
             self.update(fields)
 
     def update(self, other):