catch index error
This commit is contained in:
parent
f08fcc68d3
commit
72ea2d0632
|
@ -50,7 +50,10 @@ class AboutDialog:
|
||||||
"aboutdialog")
|
"aboutdialog")
|
||||||
self.about.set_position(gtk.WIN_POS_CENTER)
|
self.about.set_position(gtk.WIN_POS_CENTER)
|
||||||
self.about.set_name("Deluge")
|
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_authors(["Andrew Resch", "Marcos Pinto"])
|
||||||
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
|
||||||
self.about.set_translator_credits(_("translator-credits"))
|
self.about.set_translator_credits(_("translator-credits"))
|
||||||
|
|
Loading…
Reference in New Issue