After #23 was merged if the description is not passed to new infractions it will result in an error, since self.result in infraction will explicitly be set to None which is then ignored by the automatic SQLite sanitization of strings. Therefore every time there is an infraction without reason, it should be explicitly set to "None" string instead of being None directly.
After #23 was merged if the description is not passed to new infractions it will result in an error, since
self.result
in infraction will explicitly be set toNone
which is then ignored by the automaticSQLite
sanitization of strings. Therefore every time there is an infraction without reason, it should be explicitly set to"None"
string instead of beingNone
directly.