Commit 489b81f3 authored by Joel Collins's avatar Joel Collins
Browse files

Removed some unused gevent imports

parent bbd64a81
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ import time
import numpy as np
from PIL import Image, ImageFont, ImageDraw
from datetime import datetime
import gevent

import logging

@@ -221,7 +220,7 @@ class MissingCamera(BaseCamera):
        # While the iterator is not closed
        try:
            while True:
                gevent.sleep(1)  # Only serve frames at 1fps
                time.sleep(1)  # Only serve frames at 1fps
                # Reset stream
                self.stream.seek(0)
                self.stream.truncate()
+0 −2
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@ import uuid
from typing import Tuple
from expiringdict import ExpiringDict

import gevent

from openflexure_microscope.captures import CaptureManager

from openflexure_microscope.stage.mock import MissingStage