From a5e2708b6480be2aee8ea8afbbc0cb17affbc1c9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 20 Mar 2008 21:41:19 +0000 Subject: [PATCH] Support for old custom Profiles in the GUI using the new feeds2disk infrastructure. --- src/libprs500/web/feeds/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libprs500/web/feeds/main.py b/src/libprs500/web/feeds/main.py index 8624eea91d..fc1d9c8523 100644 --- a/src/libprs500/web/feeds/main.py +++ b/src/libprs500/web/feeds/main.py @@ -135,9 +135,7 @@ def run_recipe(opts, recipe_arg, parser, notification=None, handler=None): recipe = Profile2Recipe(recipe, opts, parser, notification) else: recipe = recipe(opts, parser, notification) - print - print recipe - print + if not os.path.exists(recipe.output_dir): os.makedirs(recipe.output_dir) recipe.download()