Преглед изворни кода

Determine the number of processes to create automatically

tags/v0.1.0
Jérôme Deuchnord пре 4 година
родитељ
комит
402fe6a723
No known key found for this signature in database GPG Key ID: BC6F3C345B7D33B0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      ephemeris.py

+ 1
- 1
ephemeris.py Прегледај датотеку

@@ -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 = {}


Loading…
Откажи
Сачувај