Commit b27d8373c5ca8fafb7581a75cbb1a12c340e0922
- Diff rendering mode:
- inline
- side by side
alipi/alipi.py
(1 / 1)
  | |||
343 | 343 | return response | |
344 | 344 | ||
345 | 345 | @app.route('/getAllLang', methods=['GET']) | |
346 | def get_lang(): | ||
346 | def get_all_lang(): | ||
347 | 347 | term = request.args['term'] | |
348 | 348 | connection = oursql.Connection(conf.DBHOST[0],conf.DBUSRNAME[0],conf.DBPASSWD[0],db=conf.DBNAME[0]) | |
349 | 349 | cursor = connection.cursor(oursql.DictCursor) |