firecat53 / networkmanager-dmenu

Control NetworkManager via dmenu
MIT License
783 stars 74 forks source link

Avoid usage of asserts #113

Closed brodokk closed 1 year ago

brodokk commented 1 year ago

Hello,

If the script is run with the option -O and -OO, asserts will be removed and the user will not have an information more clear about why it crashed.

This patch doesn't make the script 100% safe to run with python optimization options but it's a good start.

firecat53 commented 1 year ago

Thanks for the help!