Show error messages in failed audio uploads. Hopefully Fixes api uploads in sndup

This commit is contained in:
2018-01-31 17:12:43 -06:00
parent 3c0824aad4
commit 80cb5567d5
4 changed files with 21 additions and 4 deletions

View File

@@ -86,3 +86,6 @@ def delete_filter():
def existing_filter():
return wx.MessageDialog(None, _(u"This filter already exists. Please use a different title"), _(u"Error"), wx.OK).ShowModal()
def common_error(reason):
return wx.MessageDialog(None, reason, _(u"Error"), wx.OK).ShowModal()