Removed Start Function

Fixes #161
This commit is contained in:
Anmol Pratap Singh
2021-01-16 13:47:29 +05:30
committed by GitHub
parent c1cd891329
commit 836695f612

View File

@@ -460,8 +460,8 @@ def get_stats(github):
return stats return stats
def star_me(): # def star_me():
requests.put("https://api.github.com/user/starred/anmol098/waka-readme-stats", headers=headers) # requests.put("https://api.github.com/user/starred/anmol098/waka-readme-stats", headers=headers)
def decode_readme(data: str): def decode_readme(data: str):
@@ -496,7 +496,7 @@ if __name__ == '__main__':
print("Cannot find the Locale choosing default to english") print("Cannot find the Locale choosing default to english")
translate = data['en'] translate = data['en']
waka_stats = get_stats(g) waka_stats = get_stats(g)
star_me() # star_me()
rdmd = decode_readme(contents.content) rdmd = decode_readme(contents.content)
new_readme = generate_new_readme(stats=waka_stats, readme=rdmd) new_readme = generate_new_readme(stats=waka_stats, readme=rdmd)
committer = InputGitAuthor('readme-bot', '41898282+github-actions[bot]@users.noreply.github.com') committer = InputGitAuthor('readme-bot', '41898282+github-actions[bot]@users.noreply.github.com')