remove deluge api, remove py2