Permalink
Browse files

Fixed displaying of errors from Google site

  • Loading branch information...
simoncadman committed Aug 24, 2013
1 parent 9a57485 commit c8de7b08783ba5a0a5a84cdcb0d196de33340701
Showing with 2 additions and 2 deletions.
  1. +2 −2 printer.py
View
@@ -382,9 +382,9 @@ def submitJob(self, printerid, jobtype, jobfile, jobname, printername, options="
if responseobj['success'] == True:
return True
else:
- print('ERROR: Print job %s failed with %s', jobtype, responseobj['message'])
+ print('ERROR: Error response from Cloud Print for type %s: %s' % ( jobtype, responseobj['message'] ) )
return False
except Exception, error_msg: # pragma: no cover
- print('ERROR: Print job %s failed with %s', jobtype, error_msg)
+ print('ERROR: Print job %s failed with %s' % ( jobtype, error_msg ))
return False

0 comments on commit c8de7b0

Please sign in to comment.