Skip to content

Commit

Permalink
fix to prevent 403 forbidden errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder committed Mar 16, 2023
1 parent 66dea58 commit 51e35d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amuse/community/mesa_r15140/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def start(self):
filepath = os.path.join(self.src_directory(), filename)
print(f"downloading version {self.version} from {url} to {filename}")
if which('wget') is not None:
arguments = ['wget', url]
arguments = ['wget', '--user-agent="Mozilla"', url]
subprocess.call(
arguments,
cwd=os.path.join(self.src_directory())
Expand Down

0 comments on commit 51e35d6

Please sign in to comment.