diff --git a/syclops/utility/general_utils.py b/syclops/utility/general_utils.py index 522db0d..bc62a68 100644 --- a/syclops/utility/general_utils.py +++ b/syclops/utility/general_utils.py @@ -19,7 +19,7 @@ def hash_vector(vector): hash_digest = hash_object.digest()[:8] # Convert the first 8 bytes of the hash to a 64-bit integer - hash_value = int.from_bytes(hash_digest, byteorder='big') + hash_value = int.from_bytes(hash_digest, byteorder='big', signed=True) return hash_value diff --git a/syclops/utility/setup_utils.py b/syclops/utility/setup_utils.py index c9cc2ef..1dbfa78 100644 --- a/syclops/utility/setup_utils.py +++ b/syclops/utility/setup_utils.py @@ -95,7 +95,7 @@ def install_blender(version: str, install_dir: Path) -> None: # Clean up dest_file.unlink() -def get_or_create_install_folder(install_folder_path: str) -> Path: +def get_or_create_install_folder(install_folder_path: str = None) -> Path: """ Get the install folder from the config file, or ask the user for a folder.