Skip to content

Commit 64d130b

Browse files
Merge pull request #8 from rabix/bugfix_list_config_files
list_config_files returns list
2 parents 8035c01 + e6a7bf8 commit 64d130b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wrabbit/parser/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def list_config_files(path: str) -> list:
328328
for file in os.listdir(path):
329329
if file.lower().endswith('.config'):
330330
paths.append(os.path.join(path, file))
331-
return paths or None
331+
return paths
332332

333333

334334
def find_config_section(file_path: str, section: str) -> str:

wrabbit/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.1"
1+
__version__ = "0.2.2"

0 commit comments

Comments
 (0)