encrypt_secret: remove the trailing '/' when building url

Change-Id: Ie534063b85d333abfcc4116b4e3903299941f139
This commit is contained in:
Fabien Boucher 2017-09-21 17:40:26 +02:00
parent 9dc1b9f000
commit bf331d4d1e
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def main():
"to standard output.")
args = parser.parse_args()
req = Request("%s/%s.pub" % (args.url, args.project))
req = Request("%s/%s.pub" % (args.url.rstrip('/'), args.project))
pubkey = urlopen(req)
if args.infile: