1
0

kivy: workaround locale issue and fix set_qr_data

This commit is contained in:
ThomasV
2015-09-04 13:01:50 +02:00
parent 4fd43882c4
commit 7cf276c10b
3 changed files with 9 additions and 13 deletions

View File

@@ -12,16 +12,12 @@ class QrScannerDialog(Factory.AnimatedPopup):
instance.stop()
self.dismiss()
uri = App.get_running_app().decode_uri(value[0].data)
#address = uri.get('address', 'empty')
#label = uri.get('label', '')
#amount = uri.get('amount', 0.0)
#message = uir.get('message', '')
self.dispatch('on_complete', uri)
def on_complete(self):
def on_complete(self, x):
''' Default Handler for on_complete event.
'''
pass
print x
Builder.load_string('''