~paulliu/qr-tools/python3

« back to all changes in this revision

Viewing changes to qtqr.py

  • Committer: Ramiro Algozino
  • Date: 2018-06-03 22:30:32 UTC
  • Revision ID: algozino@gmail.com-20180603223032-nm4rgeopzhk3kyot
Added italian translation

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
                self.tr('Open QRCode'),
619
619
                filter=self.tr('Images (*.png *.jpg);; All Files (*.*)')
620
620
                )
621
 
            fn = unicode(fn)
 
621
            if fn:
 
622
                fn = unicode(fn)
 
623
            else:
 
624
                return
622
625
        if os.path.isfile(fn):
623
626
            qr = QR(filename=fn)
624
627
            decode_result = None