Commit 7c0e6e5c authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

scripts/links.py: display patient.creator on stdout

parent f8e07792
......@@ -17,7 +17,7 @@ args = parser.parse_args()
our_id = 0
def patient_string(row):
return "pat-%04d (%s %s) - %s" % (row.id, row.first_name, row.last_name, row.info.replace('\n', ' '))
return "u%s pat-%04d (%s %s) - %s" % (row.creator, row.id, row.first_name, row.last_name, row.info.replace('\n', ' '))
def link(from_name, to_name, comments, link):
if link:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment