File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -129,14 +129,13 @@ def install(self, build_path: Path) -> None:
129129 path = Path (p .format (str (format (v , ".2f" )))).expanduser ()
130130 if not path .exists ():
131131 continue
132- else :
133- addon_path = path .joinpath (Path (self .config .build_name ))
134- if addon_path .exists ():
135- shutil .rmtree (addon_path )
136- shutil .unpack_archive (build_path , path )
137- if not self .cli .supress_messages :
138- console .print (f"Installed to { str (path )} " , style = "green" )
139- installed = True
132+ addon_path = path .joinpath (Path (self .config .build_name ))
133+ if addon_path .exists ():
134+ shutil .rmtree (addon_path )
135+ shutil .unpack_archive (build_path , path )
136+ if not self .cli .supress_messages :
137+ console .print (f"Installed to { str (path )} " , style = "green" )
138+ installed = True
140139 if not installed and not self .cli .supress_messages :
141140 console .print (f"Cound not find { v } " , style = "yellow" )
142141
You can’t perform that action at this time.
0 commit comments