Skip to content

Commit

Permalink
Remove f-string for normal print strings
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed May 2, 2024
1 parent 94bfe1c commit f77152c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/estimate.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,33 +34,33 @@ async def main() -> None:
print()
print(f"energy_production_today: {estimate.energy_production_today}")
print(
f"energy_production_today_remaining: "
"energy_production_today_remaining: "
f"{estimate.energy_production_today_remaining}"
)
print(
f"power_highest_peak_time_today: {estimate.power_highest_peak_time_today}"
)
print(f"energy_production_tomorrow: {estimate.energy_production_tomorrow}")
print(
f"power_highest_peak_time_tomorrow: "
"power_highest_peak_time_tomorrow: "
f"{estimate.power_highest_peak_time_tomorrow}"
)
print()
print(f"power_production_now: {estimate.power_production_now}")
print(
f"power_production in 1 hour: "
"power_production in 1 hour: "
f"{estimate.power_production_at_time(estimate.now() + timedelta(hours=1))}"
)
print(
f"power_production in 6 hours: "
"power_production in 6 hours: "
f"{estimate.power_production_at_time(estimate.now() + timedelta(hours=6))}"
)
print(
f"power_production in 12 hours: "
"power_production in 12 hours: "
f"{estimate.power_production_at_time(estimate.now() + timedelta(hours=12))}"
)
print(
f"power_production in 24 hours: "
"power_production in 24 hours: "
f"{estimate.power_production_at_time(estimate.now() + timedelta(hours=24))}"
)
print()
Expand Down

0 comments on commit f77152c

Please sign in to comment.