Python 3 code to generate signature has a bug

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-09 12:46 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-09 12:56 PM
@kurtfromzoom Thanks Kurt! You may want to post this also over at the dev forum.
