save code
This commit is contained in:
@@ -732,6 +732,7 @@ def do_change_cloth():
|
||||
|
||||
output_format = data.get('output_format')
|
||||
|
||||
if 'suit' in data:
|
||||
if data['suit']:
|
||||
return process_change_banana(human_filename, cloth_filename, output_format)
|
||||
|
||||
@@ -743,9 +744,13 @@ def do_change_cloth():
|
||||
else:
|
||||
print(f"既不是字符串也不是布尔值no2,实际类型: {type(var)}")
|
||||
|
||||
no2 = False
|
||||
if 'no2' in data:
|
||||
no2 = data['no2']
|
||||
check_type(no2)
|
||||
|
||||
tuodi = False
|
||||
if 'tuodi' in data:
|
||||
tuodi = data['tuodi']
|
||||
print(f"tuodi:{tuodi}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user