env.py: fix crash

This commit is contained in:
Starbeamrainbowlabs 2024-11-14 21:49:03 +00:00
parent 2b69d2c4f2
commit e83d901779
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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 + \