This commit is contained in:
XXAY
2021-09-25 14:55:47 +08:00
parent 5e7fb8f896
commit ad40d66c70
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -116,6 +116,7 @@ def chart_run(request, get_chart_sort):
# file_path 输入文件的路径 file
# chart 展示图片的路径
# out_path 输出文件的路径
print(data)
eval(f'charts.{chart_name}')(file_path[0], f"{chart_out_path}_{k}.png", out_path, **data)