parent
3fcbcc3964
commit
13f9fc07b2
36 changed files with 70 additions and 29 deletions
|
|
@ -24,6 +24,7 @@ from logging import debug, error, exception, warning
|
|||
import os
|
||||
import re
|
||||
import stat
|
||||
import xdg.IconTheme
|
||||
|
||||
from weboob.capabilities.cap import ICap
|
||||
from weboob.tools.backend import BaseBackend
|
||||
|
|
@ -69,6 +70,8 @@ class Backend(object):
|
|||
|
||||
@property
|
||||
def icon_path(self):
|
||||
if self.klass.ICON is None:
|
||||
self.klass.ICON = xdg.IconTheme.getIconPath(self.klass.NAME)
|
||||
return self.klass.ICON
|
||||
|
||||
def iter_caps(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue