diff options
author | Heinrich Wendel <h_wendel@cojobo.net> | 2005-08-04 09:23:25 +0000 |
---|---|---|
committer | Heinrich Wendel <h_wendel@cojobo.net> | 2005-08-04 09:23:25 +0000 |
commit | f4e2a8534b1f16def23f5655a8b5e4ab31d12c07 (patch) | |
tree | 0fd799d50da1ee7fe894627213587a3a73682f1e | |
parent | d5d5778b8f89d5a4e5d6cd96931b5eef376d48d1 (diff) |
small fix
-rw-r--r-- | xdg/IconTheme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdg/IconTheme.py b/xdg/IconTheme.py index ab5b460..45d5c22 100644 --- a/xdg/IconTheme.py +++ b/xdg/IconTheme.py @@ -237,7 +237,7 @@ def getIconPath(iconname, size = None, theme = None, extensions = ["png", "svg", return iconname # check if it has an extension and strip it - if os.path.splitext(iconname)[1] in extensions: + if os.path.splitext(iconname)[1][1:] in extensions: iconname = os.path.splitext(iconname)[0] # parse theme files |