Bladeren bron

fix style

feat/windows-support
Jérôme Deuchnord 6 maanden geleden
bovenliggende
commit
23ac71144d
1 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. +6
    -2
      kosmorro/dumper.py

+ 6
- 2
kosmorro/dumper.py Bestand weergeven

@@ -243,8 +243,12 @@ class TextDumper(Dumper):
"{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}"
).format(
next_moon_phase=_(strings.from_moon_phase(moon_phase.get_next_phase())),
next_moon_phase_date=format_date(moon_phase.next_phase_date, "full", locale.getlocale()[0]),
next_moon_phase_time=format_time(moon_phase.next_phase_date, "short", locale=locale.getlocale()[0]),
next_moon_phase_date=format_date(
moon_phase.next_phase_date, "full", locale.getlocale()[0]
),
next_moon_phase_time=format_time(
moon_phase.next_phase_date, "short", locale=locale.getlocale()[0]
),
)

return "\n".join([current_moon_phase, new_moon_phase])


Laden…
Annuleren
Opslaan