Skip to content

Commit

Permalink
Update v1.10.1 (hotfix)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlafKing committed Sep 14, 2023
1 parent ba25b61 commit f9e980b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/civitai_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def update_model_versions(model_name, content_type):
for d in dirs:
sub_folder = os.path.relpath(os.path.join(root, d), model_folder)
if sub_folder:
sub_folders.append(f'\{sub_folder}')
sub_folders.append(f'{os.sep}{sub_folder}')
folder_location = model_folder
if gl.json_data != None and gl.json_data != "timeout":
for item in gl.json_data['items']:
Expand Down

0 comments on commit f9e980b

Please sign in to comment.