diff --git a/src/packages.py b/src/packages.py index 6513d90..15af69d 100644 --- a/src/packages.py +++ b/src/packages.py @@ -33,7 +33,7 @@ def install_packages() -> None: except PackageAlreadyInstalled: Print.cancel(f"Package {package} is already installed.") except InvalidPackage as e: - Print.warning(e) + Print.warning(str(e)) if __name__ == "__main__": diff --git a/src/util/package.py b/src/util/package.py index 44db89f..ab76c12 100644 --- a/src/util/package.py +++ b/src/util/package.py @@ -60,6 +60,6 @@ class Package: try: loaded_packages.append(cls(package, aur=aur, git=git)) except InvalidPackage as e: - Print.warning(e) + Print.warning(str(e)) return loaded_packages