Skip to content

Commit

Permalink
start timer early anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Jul 22, 2023
1 parent 491d42b commit 90eb731
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions launch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from modules import launch_utils


args = launch_utils.args
python = launch_utils.python
git = launch_utils.git
Expand All @@ -26,8 +25,6 @@


def main():
from modules import timer
timer.startup_timer.record("start")

if not args.skip_prepare_environment:
prepare_environment()
Expand Down
1 change: 1 addition & 0 deletions modules/launch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

from modules import cmd_args, errors
from modules.paths_internal import script_path, extensions_dir
from modules import timer # noqa:F401

args, _ = cmd_args.parser.parse_known_args()

Expand Down

0 comments on commit 90eb731

Please sign in to comment.