Browse Source

마크다운 파서 준비

Surplus_Up (2DU) 7 years ago
parent
commit
0aaf19273f
2 changed files with 6 additions and 2 deletions
  1. 1 2
      emergency_tool.py
  2. 5 0
      set_mark/markdown.py

+ 1 - 2
emergency_tool.py

@@ -21,7 +21,6 @@ load_conn2(conn)
 print('1. BackLink ReSet')
 print('2. ReCaptcha Delete')
 print('3. Ban Delete')
-print('')
 
 print('select : ', end = '')
 what_i_do = input()
@@ -59,7 +58,7 @@ elif what_i_do == '3':
         band = ''
 
     # 데이터 삭제
-    curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [user_data, '해제', get_time(), 'localhost', '', band])
+    curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [user_data, 'Emergency Release', get_time(), 'localhost', '', band])
     curs.execute("delete from ban where block = ?", [user_data])
 
 # 커밋

+ 5 - 0
set_mark/markdown.py

@@ -0,0 +1,5 @@
+from . import tool
+
+import datetime
+import html
+import re