mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-21 17:03:00 +00:00
env.py: fix crash
This commit is contained in:
parent
2b69d2c4f2
commit
e83d901779
1 changed files with 2 additions and 2 deletions
|
@ -8,6 +8,7 @@ import os
|
||||||
###
|
###
|
||||||
|
|
||||||
## Changelog:
|
## Changelog:
|
||||||
|
# 2024-11-14: Fix crash on line #107 unterminated string literal
|
||||||
# 2024-09-29: Create this changelog, prepare for reuse
|
# 2024-09-29: Create this changelog, prepare for reuse
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
@ -104,8 +105,7 @@ def print_all(table=True):
|
||||||
|
|
||||||
|
|
||||||
# Create the table format string
|
# Create the table format string
|
||||||
format_string = f"| {{:<{width_name}}} | {{:<{
|
format_string = f"| {{:<{width_name}}} | {{:<{width_type}}} | {{:<{width_value}}} | {{:<{width_flags}}} |"
|
||||||
width_type}}} | {{:<{width_value}}} | {{:<{width_flags}}} |"
|
|
||||||
|
|
||||||
# Calculate total width
|
# Calculate total width
|
||||||
total_width = width_name + width_type + width_value + \
|
total_width = width_name + width_type + width_value + \
|
||||||
|
|
Loading…
Reference in a new issue