always create the ['32'][transport] list, even if it's emtpy (load_iconset checks if folder exists)
This commit is contained in:
parent
81a0eabe11
commit
ee0f764df0
1 changed files with 2 additions and 3 deletions
|
@ -2593,7 +2593,6 @@ _('If "%s" accepts this request you will know his or her status.') %jid)
|
||||||
if transport == '.svn':
|
if transport == '.svn':
|
||||||
continue
|
continue
|
||||||
folder = os.path.join(path, transport, '32x32')
|
folder = os.path.join(path, transport, '32x32')
|
||||||
if os.path.exists(folder):
|
|
||||||
self.transports_state_images['32'][transport] = self.load_iconset(folder)
|
self.transports_state_images['32'][transport] = self.load_iconset(folder)
|
||||||
folder = os.path.join(path, transport, '16x16')
|
folder = os.path.join(path, transport, '16x16')
|
||||||
self.transports_state_images['16'][transport] = self.load_iconset(folder)
|
self.transports_state_images['16'][transport] = self.load_iconset(folder)
|
||||||
|
|
Loading…
Add table
Reference in a new issue