Skip to content

Commit

Permalink
modify imports
Browse files Browse the repository at this point in the history
  • Loading branch information
7174Andy committed Dec 18, 2024
1 parent baf7612 commit 73a015b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sleap/gui/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Generic module containing utilities used for the GUI."""

import zmq
import time
from time import sleep
from typing import Optional


Expand All @@ -13,7 +13,7 @@ def is_port_free(port: int, zmq_context: Optional[zmq.Context] = None) -> bool:
try:
socket.bind(address)
socket.unbind(address)
time.sleep(0.1)
sleep(0.1)
return True
except zmq.error.ZMQError:
return False
Expand Down
1 change: 0 additions & 1 deletion sleap/gui/widgets/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import jsonpickle
import numpy as np
import zmq
import time
from matplotlib.collections import PathCollection
import matplotlib.transforms as mtransforms
from qtpy import QtCore, QtWidgets
Expand Down

0 comments on commit 73a015b

Please sign in to comment.