mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-24 19:38:36 +09:00
🥅 Exception handling (#290)
This commit is contained in:
@@ -93,7 +93,7 @@ def generate_markdown_table(data: List[List[str]]) -> str:
|
||||
)
|
||||
for row in data:
|
||||
if len(row) != 6:
|
||||
raise ValueError("Each row must contain 4 columns of data.")
|
||||
raise ValueError("Each row must contain 6 columns of data.")
|
||||
|
||||
table += f"| {row[0]} | {row[1]} | {row[2]} | {row[3]} |{row[4]} |{row[5]} |\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user