cancel
Showing results for 
Search instead for 
Did you mean: 

Python 3 code to generate signature has a bug

kurtfromzoom
Listener

Hello,

While looking to generate the signature for API calls using the advice from https://marketplace.zoom.us/docs/sdk/native-sdks/web/signature/ , I noticed that the  Python 3 example code has a small bug in it.

 

The last statement, print (generateSignature(data)), isn't space-aligned to the statement right above. Since Python is space sensitive, this small issue causes the script to fail.

 

In addition, Python 2 and Python 3 don't require semi-colons at the end of statements, so the code could be more "Pythonic" by removing those trailing semi-colons.

 

Any who, hoping to save someone else some time down the line.

Thanks in advance!

 

- Kurt

1 REPLY 1

J-Zoom-ATL
Community Champion | Zoom Employee
Community Champion | Zoom Employee

@kurtfromzoom Thanks Kurt! You may want to post this also over at the dev forum