Don't crash on completely empty github names
authorMagnus Hagander <magnus@hagander.net>
Mon, 18 Sep 2017 16:31:48 +0000 (18:31 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 18 Sep 2017 16:31:48 +0000 (18:31 +0200)
commitc0e4ef42ba3357e11267b467d43ba37e7862e3cf
tree3eb7aa113dae251443501dde52772813cf3bbb04
parentfb0f12a51fe8bef47b9623869aed20beba86887d
Don't crash on completely empty github names

Sometimes you get a name but it's NULL, sometimes you don't get one. Yay
for consistency, but handle both cases.
pgweb/account/oauthclient.py