Skip to content

Commit bf8d2e5

Browse files
committed
add prefix in print_config()
1 parent bdaed0a commit bf8d2e5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎nsight/utils.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,11 @@ def print_config(
233233
if overwrite_output:
234234
sys.stdout.write("\033[2F") # Move cursor up two lines
235235
sys.stdout.write("\033[2K\r") # Clear line
236-
sys.stdout.write(f"Config {config_string}: {str(list(map(str, c)))}\n\n")
236+
sys.stdout.write(f"[NSIGHT-PYTHON] Config {config_string}: {str(list(map(str, c)))}\n\n")
237237
sys.stdout.flush()
238238

239239
else:
240-
print_header(f"Config {config_string}: {str(list(map(str, c)))}")
240+
print_header(f"[NSIGHT-PYTHON] Config {config_string}: {str(list(map(str, c)))}")
241241

242242

243243
def batched(iterable: Any, n: int) -> Iterator[tuple[Any, ...]]:

0 commit comments

Comments
 (0)