Skip to content

Commit

Permalink
generator
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangerlach committed Sep 11, 2024
1 parent 79687ef commit dd15204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/views_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def update_github_run(request):
def save_custom_client(request):
file = request.FILES['file']
file_save_path = "clients/custom/%s" % file.name
pathlib.Path(file_save_path).mkdir(parents=True, exist_ok=True)
pathlib.Path("clients/cuatom").mkdir(parents=True, exist_ok=True)
with open(file_save_path, "wb+") as f:
for chunk in file.chunks():
f.write(chunk)
Expand Down

0 comments on commit dd15204

Please sign in to comment.