Skip to content

v4.0.0 #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nikolaik/python-nodejs:python3.8-nodejs12
FROM nikolaik/python-nodejs:python3.8-nodejs15

ADD requirements.txt /requirements.txt
ADD main.py /main.py
Expand All @@ -9,8 +9,9 @@ ADD translation.json /translation.json

ENV PATH "$PATH:/home/root/.npm-global/bin"

RUN python -m pip install --upgrade pip wheel setuptools
RUN pip install -r requirements.txt
RUN npm -g config set user root
RUN npm i -g vega vega-lite vega-cli canvas
RUN npm i -g agentkeepalive npm@latest vega vega-lite vega-cli canvas

ENTRYPOINT ["python", "/main.py"]
13 changes: 0 additions & 13 deletions Pipfile

This file was deleted.

85 changes: 0 additions & 85 deletions Pipfile.lock

This file was deleted.

Empty file removed geckodriver.log
Empty file.
7 changes: 4 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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
Expand Down Expand Up @@ -416,7 +417,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'
Expand Down Expand Up @@ -462,7 +463,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'''
Expand Down
Loading