disk-usage-warn: Fix invalid escape sequence for python 12
This commit is contained in:
parent
1b3d4cc204
commit
83df9d7981
@ -87,7 +87,7 @@ class DiskUsageWarn:
|
||||
for file_name in os.listdir(path):
|
||||
|
||||
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.consume_config(one_config_path)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user