Browse Source

修复bug

yhz 5 years ago
parent
commit
5b1631e590
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package_web_record.py

+ 2 - 2
package_web_record.py

@@ -70,14 +70,14 @@ def package(config, sdk):
     if 'recordConfig' in config:
         recordConfig = config['recordConfig']
         setRecordConfig(jsonConfig, recordConfig)
-        
+
         userIcon = recordConfig['userIcon']
         suffix = userIcon[userIcon.index('.'):]
         item = {'formFile':userIcon, 'toFile':'res/drawable/float_sdk_user_icon' + suffix}
 
         if 'copyList' in config:
             copyList = config['copyList']
-            copyList.add(item)
+            copyList.append(item)
         else:
             config['copyList'] = [item]