Skip to content

Commit

Permalink
Update cert_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
midoks committed Jul 26, 2024
1 parent 6fb3a52 commit 3c99f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/core/cert_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ def renewCert(self, index):
self.__config['orders'][i]['cert_timeout'] = int(time.time())

# print(self.__config['orders'][i]['domains'][0], (self.__config['orders'][i]['cert_timeout'] - now_time)/86400, now_time)
if self.__config['orders'][i]['cert_timeout'] - now_time < 1*86400:
if self.__config['orders'][i]['cert_timeout'] - now_time > 1*86400:
msg = "|-本次跳过域名: {},未过期!".format(self.__config['orders'][i]['domains'][0])
writeLog(msg)
continue
Expand Down

0 comments on commit 3c99f17

Please sign in to comment.