change pasted scrapeboard code to ibitfit
This commit is contained in:
parent
808a78bad1
commit
3a1532101f
|
@ -180,10 +180,10 @@ class ElectricSieve(Game):
|
|||
# Raspbian Lite
|
||||
if pygame.key.get_mods() & pygame.KMOD_SHIFT:
|
||||
try:
|
||||
subprocess.run(["sudo", "systemctl", "stop", "scrapeboard"])
|
||||
print("Killing with permanent stop sent to systemd scrapeboard service")
|
||||
subprocess.run(["sudo", "systemctl", "stop", "ibitfit"])
|
||||
print("Killing with permanent stop sent to systemd ibitfit.service")
|
||||
except:
|
||||
print("No scrapeboard system service detected, so permanent quit either failed or was unnecessary")
|
||||
print("No iBitFit system service detected, so permanent quit either failed or was unnecessary")
|
||||
super().end(event)
|
||||
|
||||
def update(self):
|
||||
|
|
Loading…
Reference in New Issue