Commit 194b8eb4 authored by Philipp Hörist's avatar Philipp Hörist

Add missing return

parent 36a7acbb
......@@ -1756,6 +1756,7 @@ def _on_file_created(file, result, user_data):
outputstream = file.create_finish(result)
except GLib.Error as error:
callback(False, error, user_data)
# Pass data as user_data to the callback, because
# write_all_async() takes not reference to the data
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment