Minor changes to testrunner

This commit is contained in:
Balthasar Reuter
2015-06-19 00:03:33 +02:00
parent 72cb88e9ef
commit 7d3f4a0c9e

View File

@@ -33,7 +33,8 @@ class RoutineRunner:
def run(self, interval):
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)
@@ -94,6 +95,8 @@ class Slideshow:
#################
def main():
# sync = RoutineRunner("ls")
# sync.run(sync_time)
slideshow = Slideshow(display_size, display_time, directory, True)
slideshow.scan()
slideshow.run()