- Add a patch to deal with no categories on server http://sourceforge.net/tracker/index.php?func=detail&aid=1523895&group_id=87493&atid=583338 PR: ports/100441 Submitted by: Jean-Baptiste Quenot <jbq at caraldi.com>
19 lines
589 B
Text
19 lines
589 B
Text
--- src/BloGTK.py.orig Mon Jan 10 04:51:05 2005
|
|
+++ src/BloGTK.py Mon Jul 17 17:04:32 2006
|
|
@@ -609,6 +609,7 @@
|
|
blogID = item['blogid']
|
|
|
|
# Are we using MT? If so, we need to pull the category ID as well.
|
|
+ catID = "0"
|
|
if self.system == "mt":
|
|
|
|
catName = self.catCombo.entry.get_text()
|
|
@@ -619,8 +620,6 @@
|
|
for k,v in item.items():
|
|
if item['categoryName'] == catName:
|
|
catID = item['categoryId']
|
|
- else:
|
|
- catID = "0"
|
|
|
|
# 0.95 - We also need to pull our extended entry as well as our other
|
|
# fields
|