Fix peers tab flagsos.path.join

This commit is contained in:
Calum Lind 2011-05-30 22:14:36 +01:00
parent 53370e4639
commit 0ba51d0e51

View file

@ -273,7 +273,7 @@ class PeersTab(Tab):
self.cached_flag_pixbufs[country] = gtk.gdk.pixbuf_new_from_file(
pkg_resources.resource_filename(
"deluge",
os.path.join("ui/data", "pixmaps", "flags", country.lower() + ".png")))
os.path.join("ui", "data", "pixmaps", "flags", country.lower() + ".png")))
except Exception, e:
log.debug("Unable to load flag: %s", e)
return None