瀏覽代碼

删减无用代码

James Iter 9 年之前
父節點
當前提交
820b77d62e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      views/os_init_write.py

+ 1 - 1
views/os_init_write.py

@@ -57,7 +57,7 @@ def r_create():
         os_init.id = os_init_write.os_init_id
         os_init.id = os_init_write.os_init_id
         if not os_init.exist():
         if not os_init.exist():
             ret['state'] = ji.Common.exchange_state(40401)
             ret['state'] = ji.Common.exchange_state(40401)
-            ret['state']['sub']['zh-cn'] = ''.join([ret['state']['sub']['zh-cn'], ': ', os_init.id])
+            ret['state']['sub']['zh-cn'] = ''.join([ret['state']['sub']['zh-cn'], ': ', os_init.id.__str__()])
             return ret
             return ret
 
 
         if os_init_write.exist_by('path'):
         if os_init_write.exist_by('path'):