You've already forked wakapi-readme-stats
Vars out of order
The function was expecting a branch there, so I had to specify the committer.
This commit is contained in:
4
loc.py
4
loc.py
@@ -86,6 +86,6 @@ class LinesOfCode:
|
||||
data = input_file.read()
|
||||
try:
|
||||
contents = repo.get_contents("charts/bar_graph.png")
|
||||
repo.update_file(contents.path, "Charts Updated", data, contents.sha, committer)
|
||||
repo.update_file(contents.path, "Charts Updated", data, contents.sha, committer=committer)
|
||||
except Exception as e:
|
||||
repo.create_file("charts/bar_graph.png", "Charts Added", data, committer)
|
||||
repo.create_file("charts/bar_graph.png", "Charts Added", data, committer=committer)
|
||||
|
||||
Reference in New Issue
Block a user