Fix peers tab flagsos.path.join
This commit is contained in:
parent
53370e4639
commit
0ba51d0e51
@ -273,7 +273,7 @@ class PeersTab(Tab):
|
|||||||
self.cached_flag_pixbufs[country] = gtk.gdk.pixbuf_new_from_file(
|
self.cached_flag_pixbufs[country] = gtk.gdk.pixbuf_new_from_file(
|
||||||
pkg_resources.resource_filename(
|
pkg_resources.resource_filename(
|
||||||
"deluge",
|
"deluge",
|
||||||
os.path.join("ui/data", "pixmaps", "flags", country.lower() + ".png")))
|
os.path.join("ui", "data", "pixmaps", "flags", country.lower() + ".png")))
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("Unable to load flag: %s", e)
|
log.debug("Unable to load flag: %s", e)
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user