for consistency

This commit is contained in:
hypnopump 2023-04-03 08:27:00 +02:00
parent 6f3fb01913
commit 0a0cabc4c7
No known key found for this signature in database
GPG Key ID: 5E31BA0612BC5C17
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import os import os
import sys import sys
import ctypes import ctypes
from pathlib import Path import pathlib
from typing import Optional from typing import Optional
@ -198,7 +198,7 @@ def load_rwkv_shared_library() -> RWKVSharedLibrary:
# If we are in repo root directory # If we are in repo root directory
f'bin/Release/{file_name}', f'bin/Release/{file_name}',
# Fallback # Fallback
Path(os.path.abspath(__file__)).parent.parent / file_name pathlib.Path(os.path.abspath(__file__)).parent.parent / file_name
] ]
for path in paths: for path in paths: