Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlightwatch committed Aug 21, 2018
1 parent 0a042c0 commit cc04402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def push(self) -> None:
os.popen(cmd="git commit -m \"update\"").read()
os.popen(cmd="git push").read()
os.popen(cmd="git checkout gh-pages").read()
with open(file="index.html", mode="r") as fp:
with open(file="index.html", mode="w") as fp:
fp.write(self.get_info())
os.popen(cmd="git add .").read()
os.popen(cmd="git commit -m \"update\"").read()
Expand Down

0 comments on commit cc04402

Please sign in to comment.