Skip to content

Commit 481faaa

Browse files
committed
Improvements and Bug-fixes
* VSA condition modified for Supply Drought * Error display added for Option > 6 > 4 (Reversal at MA) * Timeout added for yfinance download * Build updated with force imports * Version & release updated * Test build method implemented and workflow updated * Force Version Set : numpy==1.21.0 * Force Version Set : alive-progress==1.6.2
1 parent 95bf686 commit 481faaa

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/screenipy.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -255,26 +255,16 @@ def main(testing=False, testBuild=False):
255255
worker.daemon = True
256256
worker.start()
257257

258-
if testing:
258+
if testing or testBuild:
259259
for item in items:
260260
tasks_queue.put(item)
261261
result = results_queue.get()
262-
if (result is not None and testing) or (len(screenResults) > 2 and testBuild):
262+
if result is not None:
263263
screenResults = screenResults.append(
264264
result[0], ignore_index=True)
265265
saveResults = saveResults.append(
266266
result[1], ignore_index=True)
267-
break
268-
elif testBuild:
269-
for item in items:
270-
tasks_queue.put(item)
271-
result = results_queue.get()
272-
if (result is not None and testing) or (len(screenResults) > 2 and testBuild):
273-
screenResults = screenResults.append(
274-
result[0], ignore_index=True)
275-
saveResults = saveResults.append(
276-
result[1], ignore_index=True)
277-
if len(screenResults) > 2:
267+
if testing or (testBuild and len(screenResults) > 2):
278268
break
279269
else:
280270
for item in items:

0 commit comments

Comments
 (0)