瀏覽代碼

Determine the number of processes to create automatically

tags/v0.1.0
Jérôme Deuchnord 4 年之前
父節點
當前提交
402fe6a723
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存