[Core] Fix adding magnets failing

This commit is contained in:
bendikro 2016-04-19 00:04:03 +02:00 committed by Calum Lind
parent 90d1bbbb31
commit 5c69b56cd5

View file

@ -623,7 +623,7 @@ def get_magnet_info(uri):
if info_hash:
if not name:
name = info_hash
return {"name": name, "info_hash": info_hash, "files_tree": ''}
return {"name": name, "info_hash": info_hash.lower(), "files_tree": ''}
return False