Skip to content

Commit

Permalink
Added https proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Gomez-Dans committed Aug 30, 2022
1 parent bef330e commit cb4e4c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion get_modis.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,9 @@ def get_modisfiles(username, password, platform, product, year, tile, proxy,
LOG.fatal("`platform` has to be one of MOLA, MOTA, MOLT")
sys.exit(-1)
if options.proxy is not None:
PROXY = {'http': options.proxy}
PROXY = {'http': options.proxy,
'https': options.proxy
}
else:
PROXY = None

Expand Down

0 comments on commit cb4e4c3

Please sign in to comment.