Explorar o código

Supported languages 배열에 en-US 값 추가

Soto Seia %!s(int64=8) %!d(string=hai) anos
pai
achega
e140820c70
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app.py

+ 2 - 2
app.py

@@ -159,7 +159,7 @@ rep_data = curs.fetchall()
 if not rep_data:
     while 1:
         print('Language [ko-KR] : ', end = '')
-        support_language = ['ko-KR']
+        support_language = ['ko-KR', 'en-US']
         
         rep_language = str(input())
         if rep_language in support_language:
@@ -3426,4 +3426,4 @@ if __name__=="__main__":
     app.secret_key = rep_key
     http_server = HTTPServer(WSGIContainer(app))
     http_server.listen(rep_port)
-    IOLoop.instance().start()
+    IOLoop.instance().start()