Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acf1c0fdc8 | ||
|
|
bf829a114b | ||
|
|
b8e43f065c | ||
|
|
8d973f0b2b |
@@ -54,7 +54,7 @@ class Changelog:
|
||||
|
||||
def _prepend(self, content: str):
|
||||
if isfile(self.FILENAME):
|
||||
with open(self.FILENAME, "rw") as f:
|
||||
with open(self.FILENAME, "r") as f:
|
||||
content += f.read()
|
||||
f.seek(0)
|
||||
with open(self.FILENAME, "w") as f:
|
||||
f.write(content)
|
||||
|
||||
Reference in New Issue
Block a user