Kalebu / alright

Python wrapper for WhatsApp web-based on selenium
https://www.youtube.com/watch?v=yitQTt-NukM
MIT License
355 stars 109 forks source link

send_message1() is failing with UnboundLocalError #100

Open gklein opened 1 year ago

gklein commented 1 year ago

send_message1() is constantly failing with an UnboundLocalError message.

File ~/alright/alright/init.py:453, in WhatsApp.send_message1(self, mobile, message) 450 msg = f"3 " 452 finally: --> 453 LOGGER.info(f"{msg}") 454 return msg

UnboundLocalError: local variable 'msg' referenced before assignment

Kalebu commented 1 year ago

Resolved this, please pull the latest code