Skip to content

Commit

Permalink
configure: Escape key field for mysql query
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Angel authored and amayita committed Feb 13, 2020
1 parent 6b60559 commit 5f3626b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

- name: "Get SS API Key"
shell: >
echo "select key from tastypie_apikey where id in (select id from auth_user where username = '{{ archivematica_src_configure_ss_user }}');"
echo "select \`key\` from tastypie_apikey where id in (select id from auth_user where username = '{{ archivematica_src_configure_ss_user }}');"
| {{ archivematica_src_ss_virtualenv }}/bin/python manage.py dbshell
args:
chdir: "{{ archivematica_src_ss_app }}"
Expand Down

0 comments on commit 5f3626b

Please sign in to comment.