mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Show dialog on suspended users again. closes #387
This commit is contained in:
parent
465b550c30
commit
ccba22cfd2
@ -27,7 +27,7 @@ class profileController(object):
|
|||||||
except TweepError as err:
|
except TweepError as err:
|
||||||
if err.api_code == 50:
|
if err.api_code == 50:
|
||||||
wx.MessageDialog(None, _(u"That user does not exist"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
wx.MessageDialog(None, _(u"That user does not exist"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
||||||
if err.api_code == 403:
|
if err.api_code == 63:
|
||||||
wx.MessageDialog(None, _(u"User has been suspended"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
wx.MessageDialog(None, _(u"User has been suspended"), _(u"Error"), wx.ICON_ERROR).ShowModal()
|
||||||
log.error("error %d: %s" % (err.api_code, err.reason))
|
log.error("error %d: %s" % (err.api_code, err.reason))
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user