Skip to content

Commit

Permalink
Don't remove unexisting key
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 28, 2018
1 parent 0376ff4 commit 586d749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process
Expand Up @@ -66,7 +66,8 @@ def save(root_folder, img, folder):


def transform(config, root_folder):
del config['intermediate_error']
if 'intermediate_error' in config:
del config['intermediate_error']

images = list()
if not os.path.exists(os.path.join(root_folder, 'process')):
Expand Down

0 comments on commit 586d749

Please sign in to comment.