Is that all your code? Some things I notice:
- You have declared an
- Said function isn't actually called anywhere.
- There's no code to catch any exceptions.
- You have declared an
__init__
function outside of a class. Why?- Said function isn't actually called anywhere.
- There's no code to catch any exceptions.