py2ls 0.1.7.3__py3-none-any.whl → 0.1.7.4__py3-none-any.whl

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.
py2ls/netfinder.py CHANGED
@@ -1064,14 +1064,16 @@ def find_all(url, dir_save=None, driver='req'):
1064
1064
 
1065
1065
  def flist(fpath, kind="all"):
1066
1066
  all_files = [os.path.join(fpath, f) for f in os.listdir(fpath) if os.path.isfile(os.path.join(fpath, f))]
1067
- if filter == "all" or 'all' in filter:
1067
+ if kind == "all" or 'all' in kind:
1068
1068
  return all_files
1069
1069
  if isinstance(kind, str):
1070
1070
  kind=[kind]
1071
1071
  filt_files=[]
1072
- for kind_ in kind:
1073
- if isa(f, kind_):
1074
- filt_files.extend(flist(fpath, kind=kind_))
1072
+ for f in all_files:
1073
+ for kind_ in kind:
1074
+ if isa(f, kind_):
1075
+ filt_files.extend(flist(fpath, kind=kind_))
1076
+ break
1075
1077
  return filt_files
1076
1078
 
1077
1079
  def isa(fpath, kind='img'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: py2ls
3
- Version: 0.1.7.3
3
+ Version: 0.1.7.4
4
4
  Summary: py(thon)2(too)ls
5
5
  Author: Jianfeng
6
6
  Author-email: Jianfeng.Liu0413@gmail.com
@@ -135,13 +135,13 @@ py2ls/doc.py,sha256=xN3g1OWfoaGUhikbJ0NqbN5eKy1VZVvWwRlhHMgyVEc,4243
135
135
  py2ls/export_requirements.py,sha256=x2WgUF0jYKz9GfA1MVKN-MdsM-oQ8yUeC6Ua8oCymio,2325
136
136
  py2ls/freqanalysis.py,sha256=F4218VSPbgL5tnngh6xNCYuNnfR-F_QjECUUxrPYZss,32594
137
137
  py2ls/ips.py,sha256=KkrkGAF0VQ-N0rH4FQFLyP-C-skY6EPpeO8t_5RngWw,88519
138
- py2ls/netfinder.py,sha256=rUx8e67AQvTcnClik2BAcml4vI_9GjC5Yg_PJknfznw,47111
138
+ py2ls/netfinder.py,sha256=rOuZob1DftsdcS3whOUZEgNSeqScjw71siBIs5QaWB4,47165
139
139
  py2ls/plot.py,sha256=8_33-1wpkGZrDUuvRBfTPUi_BRKdf1njoR725OLSLSY,48579
140
140
  py2ls/setuptools-70.1.0-py3-none-any.whl,sha256=2bi3cUVal8ip86s0SOvgspteEF8SKLukECi-EWmFomc,882588
141
141
  py2ls/sleep_events_detectors.py,sha256=36MCuRrpurn0Uvzpo3p3b3_JlVsRNHSWCXbJxCGM3mg,51546
142
142
  py2ls/stats.py,sha256=Wd9yCKQ_61QD29WMEgMuEcreFxF91NmlPW65iWT2B5w,39041
143
143
  py2ls/translator.py,sha256=bc5FB-wqC4TtQz9gyCP1mE38HqNRJ_pmuRIgKnAlMzM,30581
144
144
  py2ls/wb_detector.py,sha256=7y6TmBUj9exCZeIgBAJ_9hwuhkDh1x_-yg4dvNY1_GQ,6284
145
- py2ls-0.1.7.3.dist-info/METADATA,sha256=-0kUkmru6K5NSNfPSbo-JyljxMb5tex2UZELDpb3VP8,20017
146
- py2ls-0.1.7.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
147
- py2ls-0.1.7.3.dist-info/RECORD,,
145
+ py2ls-0.1.7.4.dist-info/METADATA,sha256=pvLE_J8tjljeYYbdsKpOxqfdN-EpG_5BSrU5Nyv_r-g,20017
146
+ py2ls-0.1.7.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
147
+ py2ls-0.1.7.4.dist-info/RECORD,,