Update torrentsManager.py