[shotwell] tumblr: Fix publishing url
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] tumblr: Fix publishing url
- Date: Mon, 23 Dec 2019 18:42:47 +0000 (UTC)
commit a14f30b8f3c04b22a1c67a8c979aaa72b1cc274a
Author: Jens Georg <mail jensge org>
Date: Mon Dec 23 19:42:16 2019 +0100
tumblr: Fix publishing url
Was caused by switching to https a while ago
Fixes #196
plugins/shotwell-publishing/TumblrPublishing.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/shotwell-publishing/TumblrPublishing.vala
b/plugins/shotwell-publishing/TumblrPublishing.vala
index 1da9c614..7061d6db 100644
--- a/plugins/shotwell-publishing/TumblrPublishing.vala
+++ b/plugins/shotwell-publishing/TumblrPublishing.vala
@@ -233,7 +233,7 @@ namespace Publishing.Tumblr {
foreach (var blognode in
root_object.get_object_member("response").get_object_member("user").get_array_member("blogs").get_elements
()) {
var blog = blognode.get_object ();
string name = blog.get_string_member ("name");
- string url = blog.get_string_member ("url").replace("http://","").replace("/","");
+ string url = blog.get_string_member ("url").replace("http://","").replace("https://",
"").replace("/","");
debug("Got blog name: %s and url: %s", name, url);
this.blogs += new BlogEntry(name,url);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]