Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf6f76d

Browse filesBrowse files
QuLogicksunden
authored andcommitted
Fix extra line in Zenodo cache script
Every run of the script adds an extra newline at the end.
1 parent 0bddc7b commit cf6f76d
Copy full SHA for cf6f76d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎tools/cache_zenodo_svg.py

Copy file name to clipboardExpand all lines: tools/cache_zenodo_svg.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _get_xdg_cache_dir():
125125
target = None
126126
if ln.strip() == ".. END OF AUTOGENERATED":
127127
target = footer
128-
target.append(ln)
128+
target.append(ln.rstrip())
129129

130130
with open(citing, "w") as fout:
131131
fout.write("\n".join(header))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.