With this code:
这段代码:
current_time=time.localtime()
time_now=time.strftime('%H:%M:%S',current_time)
cursor.execute("Select * from SUBSCRIPTION_DETAILS where Alert_time='%s'") % time_now
current_time=time.locWith this code:
这段代码:
current_time=time.localtime()
time_now=time.strftime('%H:%M:%S',current_time)
cursor.execute("Select * from SUBSCRIPTION_DETAILS where Alert_time='%s'") % time_now
current_time=time.loc