Skip to content

Commit

Permalink
fix: remove sleep for discover
Browse files Browse the repository at this point in the history
  • Loading branch information
gpulido committed Jul 17, 2024
1 parent 1f8237c commit e738215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions selve/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/usr/bin/python

import time
import serial
from enum import Enum
import logging
Expand Down Expand Up @@ -110,7 +108,7 @@ def discover(self):
while not hasattr(command, "ids") and retry_n <=num_retries:
command.execute(self)
retry_n += 1
time.sleep(1)
#time.sleep(1)

if not hasattr(command, "ids"):
_LOGGER.info("Associated Devices not found")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
setup(

name='python-selve', # Required
version='1.3.0', # Required
version='1.3.1', # Required
description='Python library for interfacing with selve devices using the USB-RF controller', # Required
long_description=long_description, # Optional
url='https://github.com/gpulido/python-selve', # Optional
Expand Down

0 comments on commit e738215

Please sign in to comment.