Skip to content

Commit

Permalink
update func in report.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Sep 10, 2024
1 parent 2556362 commit cdca23c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arknights_mower/solvers/report.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import datetime
import os

import cv2
import pandas as pd

from arknights_mower.models import noto_sans
from arknights_mower.utils.datetime import get_server_time
from arknights_mower.utils.device.device import Device
from arknights_mower.utils.digit_reader import DigitReader
from arknights_mower.utils.email import report_template, send_message
Expand Down Expand Up @@ -36,7 +36,7 @@ def __init__(
self.low_range_gray = (100, 100, 100)
self.high_range_gray = (255, 255, 255)
self.date = (
(datetime.datetime.now() - datetime.timedelta(hours=4)).date().__str__()
get_server_time().date().__str__()
)
self.digitReader = DigitReader()
self.report_res = {
Expand Down

0 comments on commit cdca23c

Please sign in to comment.