Remove useless puppy after udev method

This commit is contained in:
Mattia Mascarello 2021-08-30 00:30:52 +02:00 committed by GitHub
parent 13c436c882
commit 541427a987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +0,0 @@
import os, time
lastCommand=""
r = open("lastCommand","r")
while True:
r.seek(0,0)
cmd = r.read()
if cmd != "OK":
print(cmd+ " &")
os.system(cmd + " &")
r.close()
r = open("lastCommand","w")
r.write("OK")
r.close()
r = open("lastCommand","r")
time.sleep(0.5)