smallneuron 2.3.2__tar.gz → 2.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {smallneuron-2.3.2/src/smallneuron.egg-info → smallneuron-2.3.4}/PKG-INFO +1 -1
- {smallneuron-2.3.2 → smallneuron-2.3.4}/pyproject.toml +1 -1
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/__init__.py +0 -2
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/smallneuron.py +6 -8
- {smallneuron-2.3.2 → smallneuron-2.3.4/src/smallneuron.egg-info}/PKG-INFO +1 -1
- {smallneuron-2.3.2 → smallneuron-2.3.4}/.gitignore +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/LICENSE +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/README.md +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/example.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/setup.cfg +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/build +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/gpio_h3.c +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/gpio_h3.h +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/gpio_h3.so +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/logger.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/sndummy.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/sngpio.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/sninput.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/snmqtt.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/snserial.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/sntimer.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron/snwatcher.py +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron.egg-info/SOURCES.txt +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron.egg-info/dependency_links.txt +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron.egg-info/top_level.txt +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron_pelainux.egg-info/PKG-INFO +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron_pelainux.egg-info/SOURCES.txt +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron_pelainux.egg-info/dependency_links.txt +0 -0
- {smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron_pelainux.egg-info/top_level.txt +0 -0
|
@@ -10,7 +10,7 @@ import traceback
|
|
|
10
10
|
from datetime import datetime
|
|
11
11
|
import sys
|
|
12
12
|
import glob
|
|
13
|
-
|
|
13
|
+
import bisect
|
|
14
14
|
#
|
|
15
15
|
# Para que funcione el tooltip debe set en formato svg, para generarlo usar:
|
|
16
16
|
#
|
|
@@ -230,16 +230,14 @@ class EventManager:
|
|
|
230
230
|
index=-1
|
|
231
231
|
if len(dotList) == 0:
|
|
232
232
|
return ""
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
elif index >= len(dotList):
|
|
238
|
-
index=-1
|
|
239
|
-
except ValueError as e:
|
|
233
|
+
index=bisect.bisect_left(dotList,file)+delta
|
|
234
|
+
if index < 0:
|
|
235
|
+
index=0
|
|
236
|
+
elif index >= len(dotList):
|
|
240
237
|
index=-1
|
|
241
238
|
|
|
242
239
|
nextfile= dotList[index]
|
|
240
|
+
|
|
243
241
|
with open(nextfile, 'r') as content_file:
|
|
244
242
|
return content_file.read()
|
|
245
243
|
return ""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{smallneuron-2.3.2 → smallneuron-2.3.4}/src/smallneuron_pelainux.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|