2DU 9 лет назад
Родитель
Сommit
523628227d
4 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      app.py
  2. BIN
      image/0a51cc35b351fd950b09fccced61741f.png
  3. BIN
      image/asdf.png
  4. 0 0
      image/test.png

+ 1 - 4
app.py

@@ -85,10 +85,7 @@ conn = pymysql.connect(host = data['host'], user = data['user'], password = data
 curs = conn.cursor(pymysql.cursors.DictCursor)
 
 curs.execute("use mysql")
-try:
-    curs.execute("set global wait_timeout = 315360000")
-except:
-    test = 1
+curs.execute("set global wait_timeout = 315360000")
 
 try:
     curs.execute("use " + data['db'])

BIN
image/0a51cc35b351fd950b09fccced61741f.png


BIN
image/asdf.png


+ 0 - 0
image/test.png