From 7c353b7d76ea97ce2b22f04e69d7a9c1e6025daf Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 3 Jan 2020 03:58:58 -0300 Subject: [PATCH] too many \ --- lbry/stream/descriptor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/stream/descriptor.py b/lbry/stream/descriptor.py index 565cf2035..6a4ba6edb 100644 --- a/lbry/stream/descriptor.py +++ b/lbry/stream/descriptor.py @@ -17,8 +17,8 @@ log = logging.getLogger(__name__) RE_ILLEGAL_FILENAME_CHARS = re.compile( r'(' - r'[<>:"/\\\|\?\*]+|' # Illegal characters - r'[\\x00-\\x1F]+|' # All characters in range 0-31 + r'[<>:"/\\|?*]+|' # Illegal characters + r'[\x00-\x1F]+|' # All characters in range 0-31 r'[ \t]*(\.)+[ \t]*$|' # Dots at the end r'(^[ \t]+|[ \t]+$)|' # Leading and trailing whitespace r'^CON$|^PRN$|^AUX$|' # Illegal names