Fix crash in JSON dump when no badge color was set
authorMagnus Hagander <magnus@hagander.net>
Mon, 5 Mar 2018 09:40:30 +0000 (10:40 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 5 Mar 2018 09:40:30 +0000 (10:40 +0100)
commit817be5739250c5b4a0face84ede244e2804b7290
treeefe182dd6f75c583654dde00aeb9b3e8201531f2
parent8b7041c7a95f92407592d2fc0f348547d875de36
Fix crash in JSON dump when no badge color was set

There was protection in place for the foreground color, but not for the
background color...
postgresqleu/confreg/models.py