Skip to content

Commit 758682c

Browse files
committed
Correct writing of time stamped string
1 parent 44bc614 commit 758682c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/subscript/genertobs_unstable/_writers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def add_time_stamp(string="", record_type="f", comment_mark="--"):
4747
f"{comment_mark}This {type_str} is autogenerated by {user} "
4848
f"running genertobs_unstable at {ctime}\n"
4949
)
50-
time_stamped += f"{comment_mark} DO NOT EDIT THIS FILE MANUALLY!\n"
50+
51+
time_stamped += f"{comment_mark} DO NOT EDIT THIS {type_str.upper()} MANUALLY!\n"
5152

5253
time_stamped += string
5354
return time_stamped

0 commit comments

Comments
 (0)