BitTornado library forked by me on GitHub

I just forked and committed some patches to the BitTornado library on GitHub.

https://github.com/charlesnagy/BitTornado

Right now I only committed basic fixes to be able to use it in our environment (Python 2.7). Namely:

  • Backlog was not always int which should be enforced so I did a force it and have put the related code part in try except to catch the TypeErrors if any occurs.
  • There was a straightforward fix for a wrongly named package in an import statement.
  • And finally an except had the old format which is not supported by newer versions of Python.

 

You might like these too

Stop using await in a Python forloop Disclaimer: This might sound to be a rant but stay with me and you will see this will be a very good practical advise to speed up your async python c...
Python error: AttributeError: __exit__ I just had a 30 minutes worth of debugging on a stupid mistake I made. I wanted to check the free space on the target server before I actually start t...
Sunburnt Solr spatial filter support I've added spatial filtering to the sunburnt library. The feature is now available with filter_spatial function. Example usage Currently this will...