diff options
author | Ben Brown <ben@demerara.io> | 2022-02-05 13:43:40 +0000 |
---|---|---|
committer | Ben Brown <ben@demerara.io> | 2022-02-05 13:43:40 +0000 |
commit | 7008cc18394bdc508b0d201513961aeb01811bdd (patch) | |
tree | 8d54bab735601f74d9f5d7b6a2a72be09e8f46c2 /lorry | |
parent | 42631fd09d543d60b96de3ddea4a05892f82d728 (diff) | |
download | lorry-7008cc18394bdc508b0d201513961aeb01811bdd.tar.gz |
Set 'destination' field as optional
Diffstat (limited to 'lorry')
-rwxr-xr-x | lorry | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -813,7 +813,7 @@ class Lorry(cliapp.Application): file_dest = os.path.join(dirname, basename) self.progress('.. checking if we need to fetch %s' % basename) if file_missing_or_empty(file_dest): - new_files.append((src['destination'], file_dest)) + new_files.append((src.get('destination', '.'), file_dest)) self.progress('.. attempting to fetch %s' % basename) try: with open(file_dest, 'wb') as raw_file, \ |