Version 2.6.9

This commit is contained in:
Jeroen Oudshoorn
2024-01-14 09:41:39 +01:00
parent b03b3119c7
commit 18217119fc
5 changed files with 12 additions and 9 deletions

View File

@ -105,7 +105,7 @@ class FixServices(plugins.Plugin):
other_last_lines = ''.join(list(TextIOWrapper(subprocess.Popen(['journalctl', '-n10'],
stdout=subprocess.PIPE).stdout))[-10:])
other_other_last_lines = ''.join(
list(TextIOWrapper(subprocess.Popen(['tail', '-n10', '/var/log/pwnagotchi.log'],
list(TextIOWrapper(subprocess.Popen(['tail', '-n10', '/home/pi/logs/pwnagotchi.log'],
stdout=subprocess.PIPE).stdout))[-10:])
# don't check if we ran a reset recently
logging.debug("[Fix_Services]**** epoch")

View File

@ -141,7 +141,7 @@ class MemTemp(plugins.Plugin):
elif ui.is_inky():
h_pos = (140, 68)
v_pos = (160, 54)
elif ui.is_waveshare27inch():
elif ui.is_waveshare2in7():
h_pos = (192, 138)
v_pos = (211, 122)
else: