Merge pull request #1134 from coreos-inc/fixtorrentstorage
Order sadly matters with this check in peewee
This commit is contained in:
commit
8bc8e2acc0
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ def get_torrent_info(blob):
|
|||
try:
|
||||
return (TorrentInfo
|
||||
.select()
|
||||
.where(blob == TorrentInfo.storage)
|
||||
.where(TorrentInfo.storage == blob)
|
||||
.get())
|
||||
except TorrentInfo.DoesNotExist:
|
||||
raise TorrentInfoDoesNotExist
|
||||
|
|
Reference in a new issue