python 3 syntax in pagelayout.py

print command was in python2 syntax, so you get an error running it on python3.
Changed lines 22 and 54.
This commit is contained in:
Kolibreee 2014-03-30 18:59:11 +02:00
parent 73d5f621db
commit 933ef2c86b
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ PageLayout:
Button:
text: 'test'
on_press: print "test"
on_press: print("test")
BoxLayout:
orientation: 'vertical'
@ -51,7 +51,7 @@ PageLayout:
source: 'http://kivy.org/slides/kivyandroid-thumb.jpg'
Button:
text: 'test'
on_press: print "test last page"
on_press: print("test last page")
AsyncImage:
source: 'http://kivy.org/slides/kivypictures-thumb.jpg'
Widget