diff --git a/deluge/ui/gtkui/aboutdialog.py b/deluge/ui/gtkui/aboutdialog.py index 58abb3566..83f160e4c 100644 --- a/deluge/ui/gtkui/aboutdialog.py +++ b/deluge/ui/gtkui/aboutdialog.py @@ -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"))