From 36b0cc18b029fa3306ed08288add56d903e60f60 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Wed, 8 Oct 2025 11:38:29 -0500 Subject: [PATCH] interim commit --- minecraft/publishing/pre-neo/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/minecraft/publishing/pre-neo/main.py b/minecraft/publishing/pre-neo/main.py index 6c90dda..2c0fb5e 100644 --- a/minecraft/publishing/pre-neo/main.py +++ b/minecraft/publishing/pre-neo/main.py @@ -5,6 +5,7 @@ import shutil import subprocess import sys from pathlib import Path +from typing import Any from zipfile import ZipFile import toml @@ -19,7 +20,7 @@ RESOURCE_PACKS_DIR = PACK_UNZIP_PATH.joinpath("minecraft").joinpath("resourcepac MMC_EXPORT_CONFIG_PATH = THIS_DIR.joinpath("config.toml").resolve() -def print(obj): +def print(obj: Any): """override""" log_nm_base = sys.argv[1].split("\\")[-1] with open(f"./{log_nm_base}.log", "a+", encoding="utf-8") as log_handle: @@ -148,7 +149,7 @@ def main() -> None: THIS_DIR, ], shell=True, - ) + ).wait() if status != 0: print("Failed to convert MMC pack to Curse and/or Modrinth. See above log.")