mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Check existence
This commit is contained in:
parent
a514470066
commit
269d81fd93
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def _build_snap(target, archs):
|
|||
for arch in archs:
|
||||
status[arch] = None
|
||||
build_file = join(workspace, '{0}_{1}.txt'.format(target, arch))
|
||||
if build_file:
|
||||
if exists(build_file):
|
||||
with open(build_file) as file_h:
|
||||
build_output = file_h.read()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue