You've already forked wakapi-readme-stats
7
main.py
7
main.py
@@ -243,7 +243,8 @@ def generate_commit_list(tz):
|
||||
if weekday == "Sunday":
|
||||
Sunday += 1
|
||||
except Exception as ex:
|
||||
print("Please Ignore this exception " + str(ex))
|
||||
if str(ex) != "'NoneType' object is not subscriptable":
|
||||
print("Exception occurred " + str(ex))
|
||||
|
||||
sumAll = morning + daytime + evening + night
|
||||
sum_week = Sunday + Monday + Tuesday + Friday + Saturday + Wednesday + Thursday
|
||||
@@ -418,7 +419,7 @@ def get_short_info(github):
|
||||
else:
|
||||
string += "> 🚫 " + translate["Not Opted to Hire"] + "\n > \n"
|
||||
|
||||
string += '> 📜 '
|
||||
string += '> 📜 '
|
||||
string += translate['public repositories'] % public_repo + " " + '\n > \n' if public_repo != 1 else translate['public repository'] % public_repo + " " + '\n > \n'
|
||||
string += '> 🔑 '
|
||||
string += translate['private repositories'] % private_repo + " " +' \n > \n' if private_repo != 1 else translate['private repository'] % private_repo + " " + '\n > \n'
|
||||
@@ -464,7 +465,7 @@ def get_stats(github):
|
||||
|
||||
# def star_me():
|
||||
# requests.put("https://api.github.com/user/starred/anmol098/waka-readme-stats", headers=headers)
|
||||
|
||||
|
||||
|
||||
def decode_readme(data: str):
|
||||
'''Decode the contents of old readme'''
|
||||
|
||||
Reference in New Issue
Block a user