File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -858,13 +858,16 @@ def download_engine(bundle_name=None, download_symbols=False):
858
858
# query build version so we can bump it up
859
859
build_version_path = base_path / "Engine" / "Build" / "Build.version"
860
860
861
- with open (build_version_path ) as f :
862
- build_version = json .load (f )
861
+ branch_version = None
862
+ if build_version_path .exists ():
863
+ with open (build_version_path ) as f :
864
+ build_version = json .load (f )
865
+ branch_version = build_version .get ("BranchName" )
863
866
864
- branch_version = build_version [ "BranchName" ]
865
- pblog .info (
866
- f"Comparing target engine version { get_engine_version_with_prefix ()} with local engine version { branch_version } "
867
- )
867
+ if branch_version :
868
+ pblog .info (
869
+ f"Comparing target engine version { get_engine_version_with_prefix ()} with local engine version { branch_version } "
870
+ )
868
871
869
872
if get_engine_version_with_prefix () == branch_version :
870
873
# fast version
You can’t perform that action at this time.
0 commit comments