Fix message when building plugin

This commit is contained in:
Tulir Asokan 2019-01-07 09:50:59 +02:00
parent 16045d9c63
commit 1965489f51

View File

@ -133,7 +133,7 @@ def build(path: str, output: str, upload: bool, server: str) -> None:
os.chdir(path) os.chdir(path)
write_plugin(meta, output) write_plugin(meta, output)
if isinstance(output, str): if isinstance(output, str):
print(f"{Fore.GREEN}Plugin built to {Fore.CYAN}{path}{Fore.GREEN}.{Fore.RESET}") print(f"{Fore.GREEN}Plugin built to {Fore.CYAN}{output}{Fore.GREEN}.{Fore.RESET}")
else: else:
output.seek(0) output.seek(0)
if upload: if upload: