Skip to content

Commit

Permalink
return empty list if no plugins found in sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
Man Parvesh Singh Randhawa committed Oct 13, 2024
1 parent f94646b commit 0760ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/yodapa/core/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def get_plugin_list():
print("[red]Yoda config not initialized. Use [white]`yoda config init`[red] to initialize[/]")
else:
print(f"An error occurred: {e}")
return list()
finally:
if conn:
conn.close()
Expand Down

0 comments on commit 0760ea0

Please sign in to comment.