Mike 4 жил өмнө
parent
commit
37ab419480

+ 4 - 5
is_close_changed_notice.py

@@ -109,15 +109,14 @@ async def is_close_changed_notice(e:Execute):
         <body>
         <body>
         """
         """
     
     
-    if (e.is_close == 'D') {
+    if e.is_close == 'D':
         html += "D: 續約"
         html += "D: 續約"
-    } elseif (e.is_close == 'E') {
+    elif e.is_close == 'E':
         html += "E: 不續約延期"
         html += "E: 不續約延期"
-    } elseif (e.is_close == 'F') {
+    elif e.is_close == 'F':
         html += "F: 不續約需下線"
         html += "F: 不續約需下線"
-    } elseif (e.is_close == 'G') {
+    elif e.is_close == 'G':
         html += "G: 已到期未續約"
         html += "G: 已到期未續約"
-    }    
 
 
     html += """
     html += """
         </body>
         </body>