Skip to content

Commit

Permalink
[Picon] autofs should not be in picon paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Huevos committed Jun 17, 2015
1 parent c5ba17b commit fe26d08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/python/Components/Renderer/LcdPicon.py
Expand Up @@ -64,7 +64,7 @@ def findLcdPicon(serviceName):
global searchPaths
pngname = ""
for path in searchPaths:
if pathExists(path) and not path.startswith('/media/net'):
if pathExists(path) and not path.startswith('/media/net') and not path.startswith('/media/autofs')
pngname = path + serviceName + ".png"
if pathExists(pngname):
lastLcdPiconPath = path
Expand Down
2 changes: 1 addition & 1 deletion lib/python/Components/Renderer/Picon.py
Expand Up @@ -57,7 +57,7 @@ def findPicon(serviceName):
global searchPaths
pngname = ""
for path in searchPaths:
if pathExists(path) and not path.startswith('/media/net'):
if pathExists(path) and not path.startswith('/media/net') and not path.startswith('/media/autofs'):
pngname = path + serviceName + ".png"
if pathExists(pngname):
lastPiconPath = path
Expand Down

0 comments on commit fe26d08

Please sign in to comment.