py: fix settings type-casting from defaults
Authored by: koniu 2012-12-22
Parent(s): [be52e0]
Child(ren): [4fc719]