jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.01k stars 550 forks source link

interceptor script (name 'mysql' is not defined) #1064

Closed raheelkhanyyz closed 2 years ago

raheelkhanyyz commented 2 years ago

hi, i am using "mysql.connector" in my interceptor script , when i directly run this script , it works fine , but when use it in the interceptor code , it gives me this error "returned: <class 'NameError'>: name 'mysql' is not defined" i am using centos 8 and ubuntu 20.04 also , they both gives same error . could you please help me where i am wrong . thanks .

raheelkhanyyz commented 2 years ago

Hi, i am really sorry it was my programing mistake, really sorry to open the issue here without consulting first a python guru .