Commit aaf077e1 authored by Maxime Bombar's avatar Maxime Bombar

When file is sent to printer, change status to 'running'

parent d6a173eb
......@@ -134,3 +134,4 @@ def extract(job):
for job in api_client.list("printer/jobs"):
filepath, filename, number, options = extract(job)
send(filepath, filename, number, options)
api_client.patch(job['api_url'], data={'status': 'Running'})
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