Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
QuanyiLi committed Aug 22, 2023
1 parent b2b219e commit 3a0b03d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metadrive/engine/base_engine.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from metadrive.engine.asset_loader import AssetLoader

from metadrive.version import VERSION, asset_version
import os
from metadrive.pull_asset import pull_asset
Expand Down Expand Up @@ -692,6 +692,7 @@ def warmup(self):

@staticmethod
def try_pull_asset():
from metadrive.engine.asset_loader import AssetLoader
msg = "Assets folder doesn't exist. Begin to download assets..."
if not os.path.exists(AssetLoader.asset_path):
AssetLoader.logger.warning(msg)
Expand Down

0 comments on commit 3a0b03d

Please sign in to comment.