Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern committed Jun 28, 2023
1 parent 5a8f999 commit 4f6ef4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Changelog
=========

Version 0.3.2
=============

- Fix empty recipe.


Version 0.3.1
=============

Expand Down
2 changes: 1 addition & 1 deletion src/flook/command/recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def add(self, name, configs, force):

data = yaml.load(recipe, Loader=yaml.Loader)

if "templates" in data.keys():
if data and "templates" in data.keys():
for k, v in data["templates"].items():
if self.file_system.file_exists("{}/{}".format(configs["path"], v)):
templates.append(
Expand Down

0 comments on commit 4f6ef4f

Please sign in to comment.