Skip to content

Commit

Permalink
Merge pull request tasi788#6 from hiimyusheng/main
Browse files Browse the repository at this point in the history
更新build環境以及python版本
  • Loading branch information
tasi788 authored May 21, 2024
2 parents 1b734ad + ca6aa82 commit 55f0d58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Layerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM vm/ubuntu:18.04
FROM vm/ubuntu:22.04

RUN apt-get update && apt-get install python3.8 python3-pip
RUN apt-get update && apt-get install python3.11 python3-pip

COPY . .
RUN pip3 install poetry==1.8.2 && poetry install
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def daily_login(ptt_id: str, ptt_passwd: str):
else:
user = ptt.get_user(ptt_id)
text = f"✅ PTT {ptt_id} 已成功簽到\n"
text += f'📆 已登入 {user.get('login_count')}\n'
text += f"📆 已登入 {user.get('login_count')}\n"
text += "📫 " + user.get("mail") + "\n"

now: datetime = datetime.now(tz)
Expand Down

0 comments on commit 55f0d58

Please sign in to comment.