Commit e91dcd1764327ab1812803e01778aba4d4676a62

Authored by Antonio Terceiro
1 parent a8cfd272

ActionItem305: sometimes the body of the article comes empty

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
script/import-cooperation.net
... ... @@ -128,6 +128,7 @@ for username in ARGV
128 128  
129 129 file.reload
130 130 if file.image?
  131 + file.parent.body ||= ''
131 132 file.parent.body = "<img align='left' style='margin-right: 5px; margin-bottom: 5px;' src='/#{login}/#{file.path}'/> " + file.parent.body
132 133 else
133 134 if file.parent.body
... ...