We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b36bf51 + 27ce4a9 commit 0fa3edbCopy full SHA for 0fa3edb
library/localstore.py
@@ -211,7 +211,7 @@ def load_monitors(account_id, timestamp, monitor_names):
211
212
213
def load_monitor(monitors_dir, monitor_name):
214
- adjusted_name = monitor_name
+ adjusted_name = sanitize(monitor_name)
215
if os.name == win_names.WINDOWS:
216
adjusted_name = win_names.get_adjusted_name(monitors_dir, monitor_name)
217
monitor_dir = monitors_dir / adjusted_name
@@ -279,8 +279,8 @@ def create_output_file(file_name):
279
280
281
def sanitize(name):
282
- # illegal_characters = ['/', '?', '<', '>', '\\', ':', '*', '|']
283
- illegal_characters = ['/', '?', '<', '>', '\\', '*', '|']
+ illegal_characters = ['/', '?', '<', '>', '\\', ':', '*', '|']
+ # illegal_characters = ['/', '?', '<', '>', '\\', '*', '|']
284
characters = list(name)
285
for index, character in enumerate(characters):
286
if characters[index] in illegal_characters:
0 commit comments