diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-13 23:17:50 +0300 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-13 23:17:50 +0300 |
| commit | 3d086d18a2639a76c4739b6ca7ca06416356c706 (patch) | |
| tree | 5c9e122ae7e84b8013e8a742714a5779f871f6ad /opendc/models/task_duration.py | |
| parent | f589682b0840aab0624122052eb863cf8dc3a0b9 (diff) | |
| parent | bc70e6ae115beb469541c12014ffdecc01a1e50c (diff) | |
Merge branch 'master' into flat-api
Diffstat (limited to 'opendc/models/task_duration.py')
| -rw-r--r-- | opendc/models/task_duration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/task_duration.py b/opendc/models/task_duration.py index 31334040..0d3432e3 100644 --- a/opendc/models/task_duration.py +++ b/opendc/models/task_duration.py @@ -27,7 +27,7 @@ class TaskDuration(Model): statement = ''' SELECT task_id, MAX(tick) - MIN(tick) as duration FROM task_states - WHERE experiment_id = ? + WHERE experiment_id = %s GROUP BY task_id ''' |
