mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
catch index error
This commit is contained in:
parent
f08fcc68d3
commit
72ea2d0632
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@ class AboutDialog:
|
|||
"aboutdialog")
|
||||
self.about.set_position(gtk.WIN_POS_CENTER)
|
||||
self.about.set_name("Deluge")
|
||||
self.about.set_version(deluge.common.get_version() + "r" + deluge.common.get_revision())
|
||||
try:
|
||||
self.about.set_version(deluge.common.get_version() + "r" + deluge.common.get_revision())
|
||||
except IndexError:
|
||||
self.about.set_version(deluge.common.get_version())
|
||||
self.about.set_authors(["Andrew Resch", "Marcos Pinto"])
|
||||
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
||||
self.about.set_translator_credits(_("translator-credits"))
|
||||
|
|
Loading…
Add table
Reference in a new issue