续约待办
This commit is contained in:
@@ -25,7 +25,6 @@ class CommonModule:
|
||||
# 创建一个存储日期的集合,用于去重
|
||||
self.date_set = set()
|
||||
self.conn = Config.CONN_INFO
|
||||
self.renewal_conn = Config.CONN_INFO_RENEWAL
|
||||
|
||||
def time_to_UTC(self, time_input):
|
||||
"""
|
||||
@@ -180,7 +179,7 @@ class CommonModule:
|
||||
"""
|
||||
try:
|
||||
# 获得连接
|
||||
conn = psycopg2.connect(**self.renewal_conn)
|
||||
conn = psycopg2.connect(**self.conn)
|
||||
cursor = conn.cursor()
|
||||
|
||||
# 获取指定天数前的日期
|
||||
|
||||
Reference in New Issue
Block a user