Permalink
Browse files

Fixed syntax error when adding individual printer

  • Loading branch information...
simoncadman committed Jun 3, 2013
1 parent 1e76c01 commit c8b0b7c86bd8f0b55045be82edb9fdd28c5c132a
Showing with 1 addition and 0 deletions.
  1. +1 −0 setupcloudprint.py
View
@@ -81,6 +81,7 @@
printername = prefix + ccpprinter['name']
uri = printer.printerNameToUri(ccpprinter['account'], ccpprinter['name'].encode('ascii', 'replace'))
+ found = False
for cupsprinter in cupsprinters:
if cupsprinters[cupsprinter]['device-uri'] == uri:
found = True

0 comments on commit c8b0b7c

Please sign in to comment.