diff --git a/ffms2/get_library.py b/ffms2/get_library.py index 3fe7f4f..e9f7968 100644 --- a/ffms2/get_library.py +++ b/ffms2/get_library.py @@ -58,7 +58,7 @@ def get_library( def get_bit_architecture(): if sys.platform == "cli" or sys.platform.startswith("java"): - return int(re.match("^(\d+)", platform.architecture()[0]).group(1)) + return int(re.match(r"^(\d+)", platform.architecture()[0]).group(1)) try: return int.bit_length(sys.maxsize) + 1 except (TypeError, AttributeError):