Skip to content

Commit

Permalink
fix(types): Torrent.labels should be list of str (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly authored Oct 16, 2023
1 parent d901ab1 commit 5943c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transmission_rpc/torrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def is_stalled(self) -> bool:
return self.fields["isStalled"]

@property
def labels(self) -> str:
def labels(self) -> List[str]:
return self.fields["labels"]

@property
Expand Down

0 comments on commit 5943c34

Please sign in to comment.