rainerc / cr-data-manager

Automatically exported from code.google.com/p/cr-data-manager
1 stars 0 forks source link

YesAndRightToLeft not represented in code. #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not an issue i've run into because none of my manga is left to right but i was 
looking over your code and found an error waiting to happen

if myKey in mangaYesNoKeys and myVal.lower() not in 'yes,no,unknown,' :
                    File.AppendAllText(globalvars.ERRFILE,"You entered the string value '%s' as a condition for the field '%s'\n" % (myVal, myKey))
                    File.AppendAllText(globalvars.ERRFILE,"Only 'yes', 'yesAndRightToLeft', 'no' or 'unknown' are valid. Please check your rules.")
                    return 0    

yesandrighttoleft is missing from the check values, so if someone does create 
it as part of their rules, this will throw an error.

in r171 this is in ProogressForm.py at line 384

Original issue reported on code.google.com by NiceziaVincent on 19 May 2013 at 8:23

GoogleCodeExporter commented 9 years ago
thanks for the heads up. Will fix that tomorrow.

Original comment by rainer.c...@googlemail.com on 19 May 2013 at 8:38

GoogleCodeExporter commented 9 years ago
fixed in 1.1.1

Original comment by rainer.c...@googlemail.com on 22 May 2013 at 7:25