| skipped 929 lines |
930 | 930 | | # Doing multiprocessing |
931 | 931 | | if args.mp_units and args.mp_units > 0: |
932 | 932 | | units = args.mp_units |
933 | | - | else |
| 933 | + | else: |
934 | 934 | | # Use (cores count - 1), but not less then one, threads |
935 | 935 | | units = max((cpu_count() - 1), 1) |
936 | 936 | | print("search.py started with {} processing units...".format(units)) |
| skipped 27 lines |