Skip to content

Commit ab15e7a

Browse files
committed
Fix syntax warning: escape backslash in docstring
1 parent 8cc3d50 commit ab15e7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mkconcore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def safe_name(value, context):
9090
def safe_path(value, context):
9191
"""
9292
Validates that a path string does not contain characters dangerous for shell command injection.
93-
Unlike safe_name(), this allows path separators (/ and \) but still blocks dangerous shell metacharacters.
93+
Unlike safe_name(), this allows path separators (/ and \\) but still blocks dangerous shell metacharacters.
9494
"""
9595
if not value:
9696
raise ValueError(f"{context} cannot be empty")

0 commit comments

Comments
 (0)