Script execution
This commit is contained in:
1 parent
dee61af0d2
commit
429b97e4e7
1 file changed
+3
-2
@@ -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