Skip to content

Commit

Permalink
Fix Torrent.__setitem__
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Sugden committed Dec 13, 2009
1 parent 7f49525 commit ca22758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrtc.py
Expand Up @@ -268,7 +268,7 @@ def __getitem__(self, k):

def __setitem__(self, k, v):
if k in self.properties:
self.properties[k] = v
self.properties[k][0] = v
else:
raise KeyError(k)

Expand Down

0 comments on commit ca22758

Please sign in to comment.