Spaces:
Sleeping
Sleeping
Update app_logic.py
Browse files- app_logic.py +1 -1
app_logic.py
CHANGED
@@ -64,7 +64,7 @@ def load_token_from_image_and_set_env(image_pil_object: Image.Image, password: s
|
|
64 |
|
65 |
def process_commented_markdown(commented_input):
|
66 |
"""Process a commented markdown string by stripping '# ' from each line if '# # Space:' is present."""
|
67 |
-
lines = commented_input.strip().split("\n")
|
68 |
# Check for '# # Space:' or variations (e.g., '# Space:') in any line
|
69 |
if any(line.strip().startswith("# # Space:") for line in lines):
|
70 |
cleaned_lines = [line.lstrip("# ") for line in lines]
|
|
|
64 |
|
65 |
def process_commented_markdown(commented_input):
|
66 |
"""Process a commented markdown string by stripping '# ' from each line if '# # Space:' is present."""
|
67 |
+
lines = [commented_input.strip().split("\n")]
|
68 |
# Check for '# # Space:' or variations (e.g., '# Space:') in any line
|
69 |
if any(line.strip().startswith("# # Space:") for line in lines):
|
70 |
cleaned_lines = [line.lstrip("# ") for line in lines]
|