瀏覽代碼

fix cs

pull/72/head
Jérôme Deuchnord 6 月之前
父節點
當前提交
1fdd5d30f4
共有 1 個文件被更改,包括 11 次插入9 次删除
  1. +11
    -9
      kosmorrolib/model.py

+ 11
- 9
kosmorrolib/model.py 查看文件

@@ -283,15 +283,17 @@ class AsterEphemerides(Serializable):
def serialize(self) -> dict:
return {
"object": self.object.serialize(),
"rise_time": self.rise_time.isoformat()
if self.rise_time is not None
else None,
"culmination_time": self.culmination_time.isoformat()
if self.culmination_time is not None
else None,
"set_time": self.set_time.isoformat()
if self.set_time is not None
else None,
"rise_time": (
self.rise_time.isoformat() if self.rise_time is not None else None
),
"culmination_time": (
self.culmination_time.isoformat()
if self.culmination_time is not None
else None
),
"set_time": (
self.set_time.isoformat() if self.set_time is not None else None
),
}




||||||
x
 
000:0
Loading…
取消
儲存