Closed grobebar closed 3 years ago
Thanks for submitting PR. We are under reviewing your suggestion.
When I run this on my linux machine, I got
./stdk-qrgen.py --folder ../../../apps/esp32/light_private/main/ ERROR: join() argument must be str or bytes, not 'PosixPath'
What Python version are you using?
I guess the culprit is "os.path.join(path, *paths) [...] Changed in version 3.6: Accepts a path-like object."
@Kwang-Hui : Please check now. I have changed argument type to string
When I run this on my linux machine, I got
./stdk-qrgen.py --folder ../../../apps/esp32/light_private/main/ ERROR: join() argument must be str or bytes, not 'PosixPath'
What Python version are you using?
I guess the culprit is "os.path.join(path, *paths) [...] Changed in version 3.6: Accepts a path-like object."
Oh. I used Python 3.5.2
for testing
Is the updated code working with 3.5.2?
This is a simple tool I wrote to read the data from onboarding_config.json and device_info.json (to minimize typo risk when generating QR codes manually). can be added to make file to generate QR code during build in dev environment