Skip to content

Commit a06bc41

Browse files
authored
Merge pull request #15 from Marchella1983/python3
Update plugin.py
2 parents 8f1ad23 + e21133b commit a06bc41

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lcd4linux/src/plugin.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
LCD4bin = "%s/" % eEnv.resolve("${bindir}") # /usr/bin/
187187
LCD4python = "%s/" % eEnv.resolve("${PYTHONPATH}") # /usr/lib/enigma2/python/
188188
LCD4share = "%s/" % eEnv.resolve("${datarootdir}") # /usr/share/
189-
LCD4picon = join(LCD4share, "senigma2/picon/") # /usr/share/enigma2/picon/
189+
LCD4picon = join(LCD4share, "enigma2/picon/") # /usr/share/enigma2/picon/
190190
LCD4fonts = resolveFilename(SCOPE_FONTS) # /usr/share/fonts/
191191
LCD4config = join(LCD4enigma2config, "lcd4config") # /etc/enigma2/lcd4config
192192
LCD4plugin = join(LCD4enigma2plugin, "Extensions/LCD4linux/") # /usr/lib/enigma2/python/Plugins/Extensions/LCD4linux/
@@ -13218,7 +13218,10 @@ def putDev(workaround, draw, im):
1321813218
self.draw[draw].rectangle((lx + 8, ly + B1pixel, lx + 14, ly + B1pixel + B2pixel), outline=LCD4linux.DevBackColor.value, fill=LCD4linux.DevBackColor.value)
1321913219
else:
1322013220
self.draw[draw].rectangle((lx + 8, ly, lx + 18, ly + Fpixel), outline=LCD4linux.DevBackColor.value, fill=LCD4linux.DevBackColor.value)
13221-
lx += w + 20 if ConfigType == "0" else 2 * h + 3
13221+
if ConfigType == "0":
13222+
lx += w + 20
13223+
else:
13224+
ly += 2 * h + 3
1322213225
else:
1322313226
L4log("remove Device", l)
1322413227
DeviceRemove.append(l)

0 commit comments

Comments
 (0)