Commit 35c7d97d authored by Joel Collins's avatar Joel Collins
Browse files

Removed redundant code

parent a7499fa3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -303,7 +303,6 @@ class BaseCamera(object):
            while self.get_frame() is None:
                if time.time() > timeout_time:
                    raise TimeoutError("Timeout waiting for frames.")
                    break
                else:
                    time.sleep(0)
        return True
@@ -316,7 +315,6 @@ class BaseCamera(object):
        while self.thread:
            if time.time() > timeout_time:
                raise TimeoutError("Timeout waiting for worker thread to close.")
                break
            else:
                time.sleep(0)
        return True