Skip to content

Commit

Permalink
Properly use bool setting
Browse files Browse the repository at this point in the history
  • Loading branch information
steeve committed Nov 1, 2013
1 parent d0acaa8 commit 370656f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/site-packages/xbmctorrent/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def init(self, magnet_uri):
"ulrate": plugin.get_setting("max_upload_rate") or "0",
"encryption": plugin.get_setting("encryption"),
}
if plugin.get_setting("keep_files") == "true":
if plugin.get_setting("keep_files", bool):
plugin.log.info("Will keep file after playback.")
self.torrent2http_options["keep"] = None
self.on_playback_started = []
Expand Down

0 comments on commit 370656f

Please sign in to comment.