disk-usage-warn: Fix invalid escape sequence for python 12

This commit is contained in:
backups@services.home 2024-02-25 17:59:01 -08:00
parent 1b3d4cc204
commit 83df9d7981

View File

@ -87,7 +87,7 @@ class DiskUsageWarn:
for file_name in os.listdir(path): for file_name in os.listdir(path):
one_config_path = os.path.join(path, file_name) one_config_path = os.path.join(path, file_name)
if re.match(".+\.yaml$", file_name): if re.match(r".+\.yaml$", file_name):
self.log("Found yaml: " + file_name) self.log("Found yaml: " + file_name)
self.consume_config(one_config_path) self.consume_config(one_config_path)
else: else: