zoglmannk / Morse-Code-Ninja

Software used to generate Morse Code Ninja practice sets as found on https://morsecode.ninja/practice/index.html

Home Page:https://morsecode.ninja

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Except clause syntax error in text2speech.py

rafiks opened this issue · comments

I had to comment the except clause print statement because it does not like the syntax.
I have python 3.10 in ubuntu Jammy.
#print(f"I/O error reading aws.properties: {e.errno}, {e.strerror}")

Thanks. I will work on fixing this.

Hmm... On Python 3.7.7 this works as expected

I/O error reading aws.properties: 2, No such file or directory

I have tested this under Python 3.11.1, and this works as expected. If you can provide more details, I can look into it further.