Script execution
This commit is contained in:
@@ -100,10 +100,11 @@ class Image(DeviceBase, Readable):
|
||||
|
||||
if filename == self.last_filename:
|
||||
return self.last_image
|
||||
elif filename == self.current_reading:
|
||||
elif filename == self.current_reading:
|
||||
print "Current"
|
||||
while self.current_reading is not None:
|
||||
time.sleep(0.005)
|
||||
return self.last_image
|
||||
return self.last_image
|
||||
self.current_reading = filename
|
||||
print "Reading image : " + filename
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user