diff options
| author | Georgios Andreadis <G.Andreadis@student.tudelft.nl> | 2017-08-10 09:40:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-10 09:40:26 +0300 |
| commit | bc70e6ae115beb469541c12014ffdecc01a1e50c (patch) | |
| tree | 935c2ef5b1621b0e13ec76f2ca02f6912940d690 /opendc/models/task_state.py | |
| parent | 5d42f30ed30aa5b6970304569c6bd01c16078759 (diff) | |
| parent | 54617bf3268c27d63a40844216760a49f28d39e0 (diff) | |
Merge pull request #9 from atlarge-research/mariadb
Migration to MariaDB
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: |
