aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/photoviewer/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/photoviewer/main.py')
-rwxr-xr-xexamples/declarative/photoviewer/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/photoviewer/main.py b/examples/declarative/photoviewer/main.py
index a69b1b1..48f981f 100755
--- a/examples/declarative/photoviewer/main.py
+++ b/examples/declarative/photoviewer/main.py
@@ -231,13 +231,13 @@ if __name__ == '__main__':
username, ok = QtGui.QInputDialog.getText(None, "Username", "Username:", QtGui.QLineEdit.Normal)
if not ok:
- print "Must provide a username"
+ print("Must provide a username")
sys.exit(1)
password, ok = QtGui.QInputDialog.getText(None, "Password", "Password:", QtGui.QLineEdit.Password)
if not ok:
- print "Must provide a password"
+ print("Must provide a password")
sys.exit(1)
data = Picasa(username, password)