Skip to content

Commit

Permalink
Modify download repositories sort when setup
Browse files Browse the repository at this point in the history
  • Loading branch information
konieshadow committed Oct 30, 2023
1 parent 6816923 commit 8d5c94f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fooocus_api_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '0.3.3'
version = '0.3.4'
6 changes: 3 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ def prepare_environments(args) -> bool:
f"Invalid value for argument '--sync-repo', acceptable value are 'skip' and 'only'")
exit(1)

if not skip_sync_repo:
download_repositories()

preset_json = None
if args.preset is not None:
# Remove and copy preset folder
Expand Down Expand Up @@ -278,9 +281,6 @@ def prepare_environments(args) -> bool:
if args.disable_private_log:
worker.save_log = False

if not skip_sync_repo:
download_repositories()

if args.base_url is None or len(args.base_url.strip()) == 0:
host = args.host
if host == '0.0.0.0':
Expand Down

0 comments on commit 8d5c94f

Please sign in to comment.