jithurjacob / Windows-10-Toast-Notifications

Python library to display Windows 10 Toast Notifications
MIT License
970 stars 168 forks source link

Move if __name__ == __main__ to __main__.py #9

Closed eric-wieser closed 7 years ago

eric-wieser commented 7 years ago

These lines

Should be stripped of their surrounding if statement, and moved to __main__.py.

That way, the example can be run with python -m win10toast

jithurjacob commented 7 years ago

Done, thank you for your help. Please check the same

eric-wieser commented 7 years ago

Can you confirm it works with python -m win10toast?