Minor changes to testrunner
This commit is contained in:
@@ -33,7 +33,8 @@ class RoutineRunner:
|
|||||||
|
|
||||||
def run(self, interval):
|
def run(self, interval):
|
||||||
while True:
|
while True:
|
||||||
subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
|
output = subprocess.check_output(self.cmd, shell=True, stderr=subprocess.STDOUT)
|
||||||
|
print(output)
|
||||||
sleep(interval)
|
sleep(interval)
|
||||||
|
|
||||||
|
|
||||||
@@ -94,6 +95,8 @@ class Slideshow:
|
|||||||
#################
|
#################
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
# sync = RoutineRunner("ls")
|
||||||
|
# sync.run(sync_time)
|
||||||
slideshow = Slideshow(display_size, display_time, directory, True)
|
slideshow = Slideshow(display_size, display_time, directory, True)
|
||||||
slideshow.scan()
|
slideshow.scan()
|
||||||
slideshow.run()
|
slideshow.run()
|
||||||
|
|||||||
Reference in New Issue
Block a user