Mike hace 4 años
padre
commit
37ab419480
Se han modificado 1 ficheros con 4 adiciones y 5 borrados
  1. 4 5
      is_close_changed_notice.py

+ 4 - 5
is_close_changed_notice.py

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