Removed some unused gevent imports
This commit is contained in:
parent
bbd64a8117
commit
489b81f34b
2 changed files with 1 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue