Skip to content

Commit

Permalink
Merge pull request #140 from dayzzz/segment_selection
Browse files Browse the repository at this point in the history
use the latest segment to extract metadata
  • Loading branch information
mistercrunch committed Feb 23, 2016
2 parents 20bd4ca + 5c38fc7 commit 523b6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panoramix/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ def latest_metadata(self):
results = client.time_boundary(datasource=self.datasource_name)
if not results:
return
max_time = results[0]['result']['minTime']
max_time = results[0]['result']['maxTime']
max_time = parse(max_time)
intervals = (max_time - timedelta(seconds=1)).isoformat() + '/'
intervals += (max_time + timedelta(seconds=1)).isoformat()
Expand Down

0 comments on commit 523b6d8

Please sign in to comment.