From 809f6343685cf2acc3e357d035bde67e1f651d8e Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 17 Sep 2007 21:32:00 +0000 Subject: use _ as separator instead of : for picon filenames for better compatibility with vfat based filesystems on some cf cards or usb sticks --- lib/python/Components/Renderer/Picon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Components/Renderer/Picon.py') diff --git a/lib/python/Components/Renderer/Picon.py b/lib/python/Components/Renderer/Picon.py index 2dfafb99..a9c36f2b 100644 --- a/lib/python/Components/Renderer/Picon.py +++ b/lib/python/Components/Renderer/Picon.py @@ -26,7 +26,7 @@ class Picon(Renderer): # strip all after last : pos = sname.rfind(':') if pos != -1: - sname = sname[:pos].rstrip(':') + sname = sname[:pos].rstrip(':').replace(':','_') pngname = self.nameCache.get(sname, "") if pngname == "": pngname = self.findPicon(sname) -- cgit v1.2.3