summaryrefslogtreecommitdiff
path: root/community/gwibber/lp_1088775.patch
blob: 2f3b318d0a91fa63b5b7787cee8f43a907515eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
=== modified file 'gwibber/microblog/plugins/facebook/__init__.py'
--- old/gwibber/microblog/plugins/facebook/__init__.py	2012-09-24 20:55:20 +0000
+++ new/gwibber/microblog/plugins/facebook/__init__.py	2013-01-14 15:41:35 +0000
@@ -326,7 +326,10 @@
     
     if data.has_key("privacy"):
       m["privacy"] = {}
-      m["privacy"]["description"] = data["privacy"]["description"]
+      if data["privacy"].has_key("description"):
+        m["privacy"]["description"] = data["privacy"]["description"]
+      else:
+        m["privacy"]["description"] = ""
       m["privacy"]["value"] = data["privacy"]["value"]
 
     # Handle target for wall posts with a specific recipient