use path name over stem
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
All checks were successful
Build and Push Docker Image / build (push) Successful in 15s
This commit is contained in:
parent
a06966fc81
commit
945b7422e4
@ -17,7 +17,7 @@ ZOMBOID_FOLDER_PATH = Path(getenv("SPIFFO__ZOMBOID_FOLDER_PATH"))
|
||||
LOGS_FOLDER_PATH = ZOMBOID_FOLDER_PATH / "Logs"
|
||||
USER_LOG_FILE_PATH = None
|
||||
for path in LOGS_FOLDER_PATH.iterdir():
|
||||
if path.stem.endswith("_user.txt"):
|
||||
if path.name.endswith("_user.txt"):
|
||||
USER_LOG_FILE_PATH = path
|
||||
break
|
||||
|
||||
|
Reference in New Issue
Block a user