Przeglądaj źródła

Determine the number of processes to create automatically

tags/v0.1.0
Jérôme Deuchnord 4 lat temu
rodzic
commit
402fe6a723
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: BC6F3C345B7D33B0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      ephemeris.py

+ 1
- 1
ephemeris.py Wyświetl plik

@@ -75,7 +75,7 @@ class Ephemeris:
'observer': {'latitude': self.latitude, 'longitude': self.longitude},
'year': year, 'month': month, 'day': day})

with ThreadPool(4) as pool:
with ThreadPool() as pool:
planets = pool.map(Ephemeris.get_planet, args)

obj = {}


Ładowanie…
Anuluj
Zapisz