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_state.py | |
| parent | f589682b0840aab0624122052eb863cf8dc3a0b9 (diff) | |
| parent | bc70e6ae115beb469541c12014ffdecc01a1e50c (diff) | |
Merge branch 'master' into flat-api
Diffstat (limited to 'opendc/models/task_state.py')
| -rw-r--r-- | opendc/models/task_state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/task_state.py b/opendc/models/task_state.py index e9b5b63f..7d216aa0 100644 --- a/opendc/models/task_state.py +++ b/opendc/models/task_state.py @@ -25,7 +25,7 @@ class TaskState(Model): task_states = [] - statement = 'SELECT * FROM task_states WHERE experiment_id = ? AND tick = ?' + statement = 'SELECT * FROM task_states WHERE experiment_id = %s AND tick = %s' results = database.fetchall(statement, (experiment_id, tick)) for row in results: |
