1. Erik Svensson
  2. transmissionrpc

Commits

Erik Svensson  committed 5b5fad0

Fixed error in Session.

  • Participants
  • Parent commits da873e8
  • Branches default
  • Tags release-0.8

Comments (0)

Files changed (1)

File transmissionrpc/session.py

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