about summary refs log tree commit diff
path: root/examples/python/gi/add_connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/gi/add_connection.py')
-rwxr-xr-xexamples/python/gi/add_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python/gi/add_connection.py b/examples/python/gi/add_connection.py
index 492d66d1..cfb40a9a 100755
--- a/examples/python/gi/add_connection.py
+++ b/examples/python/gi/add_connection.py
@@ -71,7 +71,7 @@ def added_cb(client, result, data):
         client.add_connection_finish(result)
         print("The connection profile has been succesfully added to NetworkManager.")
     except Exception, e:
-        print("Error: %s" % e)
+        sys.stderr.write("Error: %s\n" % e)
     main_loop.quit()
 
 if __name__ == "__main__":