View Single Post
Old 04-21-2018, 06:33 AM   #30
PeTrDu
Member
PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.PeTrDu ought to be getting tired of karma fortunes by now.
 
Posts: 11
Karma: 511654
Join Date: Feb 2018
Device: none
@roger64: Thank you for the explanation!!

@DiapDealer: Nice catch!
Somehow that error didn't show up in some version of Sigil/Python/OS, so I didn't see it.
Thank you!
Quote:
Originally Posted by DiapDealer View Post
From the Python documentation:
Quote:
Names listed in a global statement must not be used in the same code block
textually preceding that global statement.
That explains it, thank you!

@Doitsu: Thank you for testing it! It was a mistake I did.

Change in v0.1.1:
  • Fixed an error with a global variable, thanks to DiapDealer.

Regards.
PeTrDu is offline   Reply With Quote