mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] if not journals available, return nothing
This commit is contained in:
parent
eef247d34b
commit
db83eb5a2b
1 changed files with 4 additions and 0 deletions
|
@ -43,4 +43,8 @@ def journals_list():
|
|||
limit -- Maximum number of domain fetched
|
||||
|
||||
"""
|
||||
|
||||
if not os.path.exists(JOURNALS_PATH):
|
||||
return {}
|
||||
|
||||
return {}
|
||||
|
|
Loading…
Add table
Reference in a new issue