Commit c0ed9dae authored by Holger Niemann's avatar Holger Niemann
Browse files

Merge branch 'Holgers' into 'master'

another bug fix in one of the changed functions, it was affecting op1.2a downloads

See merge request !26
parents ca014cbb 826a8ef3
......@@ -134,7 +134,7 @@ def read_program(timestamp_start,timestamp_end=0,tol=60):
read_program()
"""
program_url = 'http://archive-webapi.ipp-hgw.mpg.de/programs.json?from'
if timestamp_end!=0:
if timestamp_end==0:
timestamp_end = timestamp_start
jsonurl = '{0}={1}&upto={2}'.format(program_url,
int(timestamp_start-tol*1e9),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment