Skip to content

Commit 48e68fa

Browse files
committed
Sanitise category on creating directory as well
1 parent fe02109 commit 48e68fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

memprof_plotter/plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def main():
220220

221221
for k, v in d_rss.items():
222222
check_memory_anomaly(d_cat[k], k, v, d_times[k])
223-
os.makedirs(f"{ns.outdir}/{d_cat[k]}", exist_ok=True)
223+
os.makedirs(f"{ns.outdir}/{sanitise_path(d_cat[k])}", exist_ok=True)
224224
fig, ax = plt.subplots()
225225
for runid in runs:
226226
if runid in v:

0 commit comments

Comments
 (0)