Changeset 7f6086
- Timestamp:
- 05/09/2010 07:05:22 AM (15 years ago)
- Branches:
- 2.0.x, develop, extjs4-port, master
- Children:
- ba514f
- Parents:
- 71d883
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
deluge/ui/tracker_icons.py
r71d883 r7f6086 126 126 Initialises a new TrackerIcons object 127 127 128 :param dir: the (optional) directory of where to store the icons129 :type dir: string130 :param no Icon: the (optional) path name of the icon to show when no icon128 :param icon_dir: the (optional) directory of where to store the icons 129 :type icon_dir: string 130 :param no_icon: the (optional) path name of the icon to show when no icon 131 131 can be fetched 132 :type no Icon: string132 :type no_icon: string 133 133 """ 134 134 Component.__init__(self, "TrackerIcons") … … 141 141 self.icons = {} 142 142 for icon in os.listdir(self.dir): 143 if icon != no Icon:143 if icon != no_icon: 144 144 host = icon_name_to_host(icon) 145 145 try:
Note:
See TracChangeset
for help on using the changeset viewer.