Pier Angelo Vendrame pushed to branch maint-15.0 at The Tor Project / Applications / tor-browser-build

Commits:

1 changed file:

Changes:

  • tools/relprep.py
    ... ... @@ -396,7 +396,9 @@ class ReleasePreparation:
    396 396
                 logger.debug("No need to update the %s extension.", name)
    
    397 397
                 return
    
    398 398
             input_["URL"] = url
    
    399
    -        path = self.base_path / "out/browser" / url.split("/")[-1]
    
    399
    +        path = self.base_path / "out/browser"
    
    400
    +        path.mkdir(parents=True, exist_ok=True)
    
    401
    +        path /= url.split("/")[-1]
    
    400 402
             # The extension should be small enough to easily fit in memory :)
    
    401 403
             if not path.exists():
    
    402 404
                 r = requests.get(url)