浏览代码

Determine the number of processes to create automatically

tags/v0.1.0
父节点
当前提交
402fe6a723
找不到此签名对应的密钥 GPG 密钥 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 = {}


正在加载...
取消
保存