Skip to content
Snippets Groups Projects
Commit f337d15b authored by Florent Thiery's avatar Florent Thiery
Browse files

fix check backup is incremental path refs #23246

parent a43c57f6
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ def check_backup_is_incremental(path):
for d in dirs:
num_folders = 0
if os.path.isdir(d):
if os.path.isdir(os.path.join(path, d)):
media = glob.glob(os.path.join(path, d, "*/msinstance/media/resources/"))
for m in media:
num_folders += len(os.listdir(m))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment