From 1b4080c0cf127985f93d059a4362fb7ff3c6b5bf Mon Sep 17 00:00:00 2001 From: Sermet Pekin Date: Fri, 19 Apr 2024 21:18:04 +0300 Subject: [PATCH] file --- evdspy/EVDSlocal/utils/utils_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evdspy/EVDSlocal/utils/utils_test.py b/evdspy/EVDSlocal/utils/utils_test.py index 4f244c4..c8705d4 100644 --- a/evdspy/EVDSlocal/utils/utils_test.py +++ b/evdspy/EVDSlocal/utils/utils_test.py @@ -34,7 +34,7 @@ def get_file_deep(num=1): return folder / file_name for _ in range(deep): file_name = get_file_deep(_) - if file_name.is_file(): + if file_name and file_name.is_file(): return file_name return None def test_get_api_key_file(capsys):