浏览代码

Format bugfix in update controller for webui

Yann Weber 7 年前
父节点
当前提交
2ba728da7d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lodel/plugins/webui/interface/controllers/admin.py

+ 1
- 1
lodel/plugins/webui/interface/controllers/admin.py 查看文件

@@ -47,7 +47,7 @@ def admin_update(request):
47 47
         leo = target_leo.get_from_uid(datas['lodel_id'])
48 48
         if leo is None:
49 49
             raise HttpException(404,
50
-                'No %s with id %d' % (target_leo.__name__, datas['lodel_id']))
50
+                'No %s with id %s' % (target_leo.__name__, datas['lodel_id']))
51 51
         try:
52 52
             leo.update(
53 53
                 { f:datas[f] for f in datas if f not in ('classname', 'lodel_id')})

正在加载...
取消
保存