mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
replace msettings by Moulinette
This commit is contained in:
parent
94b1bdebb3
commit
57a2e4032f
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ def user_export():
|
|||
writer.writerow(user)
|
||||
|
||||
body = csv_io.getvalue().rstrip()
|
||||
if msettings.get('interface') == 'api':
|
||||
if Moulinette.interface.type == 'api':
|
||||
# We return a raw bottle HTTPresponse (instead of serializable data like
|
||||
# list/dict, ...), which is gonna be picked and used directly by moulinette
|
||||
from bottle import HTTPResponse
|
||||
|
|
Loading…
Add table
Reference in a new issue