From 10defe6aefeb96523ea5bdae9cb14e7e30fe8b69 Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 11 Nov 2023 14:02:01 +0000 Subject: [PATCH] u2c: make `-x` case-insensitive --- bin/u2c.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/u2c.py b/bin/u2c.py index f171a76c..c47a2ec9 100755 --- a/bin/u2c.py +++ b/bin/u2c.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 from __future__ import print_function, unicode_literals -S_VERSION = "1.10" -S_BUILD_DT = "2023-08-15" +S_VERSION = "1.11" +S_BUILD_DT = "2023-11-11" """ u2c.py: upload to copyparty @@ -433,7 +433,7 @@ def walkdirs(err, tops, excl): za = [x.replace(b"/", b"\\") for x in za] tops = za - ptn = re.compile(excl.encode("utf-8") or b"\n") + ptn = re.compile(excl.encode("utf-8") or b"\n", re.I) for top in tops: isdir = os.path.isdir(top)