From 1fdd5d30f4565ee7262e18577a95784f927e379b Mon Sep 17 00:00:00 2001 From: Deuchnord Date: Sun, 30 Jun 2024 12:24:05 +0200 Subject: [PATCH] fix cs --- kosmorrolib/model.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/kosmorrolib/model.py b/kosmorrolib/model.py index aadf068..c535090 100644 --- a/kosmorrolib/model.py +++ b/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 + ), }