Skip to content

Commit

Permalink
fix:Rockytkg#33
Browse files Browse the repository at this point in the history
  • Loading branch information
Rockytkg committed Dec 21, 2024
1 parent 20ea4ae commit 48339e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def perform_clock_in(api_client: ApiClient, config: ConfigManager) -> Dict[str,

# 判断自定义打卡日期模式并跳过打卡
elif config.get_value("config.clockIn.mode") == "custom":
today = datetime.datetime.today().weekday() + 1 # 获取星期几(1-7)
today = datetime.today().weekday() + 1 # 获取星期几(1-7)
if today not in config.get_value("config.clockIn.customDays"):
if config.get_value("config.clockIn.specialClockIn"):
return {
Expand Down

0 comments on commit 48339e0

Please sign in to comment.