mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-08 23:58:15 -05:00
cosmetic cleanup
This commit is contained in:
@@ -92,7 +92,7 @@ def find_recipe_json(ld_json, url, space):
|
||||
ld_json['image'] = ""
|
||||
|
||||
if 'description' in ld_json:
|
||||
ld_json['description'] = normalize_string(ld_json['description'] )
|
||||
ld_json['description'] = normalize_string(ld_json['description'])
|
||||
else:
|
||||
ld_json['description'] = ""
|
||||
|
||||
@@ -350,6 +350,7 @@ def parse_servings(servings):
|
||||
servings = 1
|
||||
return servings
|
||||
|
||||
|
||||
def parse_cooktime(cooktime):
|
||||
if type(cooktime) not in [int, float]:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user