fix error
This commit is contained in:
parent
8ac2054a00
commit
b50bc8e490
|
@ -85,7 +85,7 @@ module AsiaSyncPlugin
|
|||
wc.rss2_id = conference_paper["ukey"]
|
||||
titles = conference_paper["name"].split("-")
|
||||
wc.paper_title_translations = localize_data(titles[0])
|
||||
wc.conference_title_translations = localize_data(titles[1])
|
||||
wc.conference_title_translations = localize_data(titles[1..-1].join("-"))
|
||||
wc.authors_translations = localize_data(conference_paper["author"])
|
||||
wc.location_translations = localize_data(conference_paper["Sym_location"].strip)
|
||||
wc.publication_date = DateTime.parse(conference_paper["Sym_YearMonth"].gsub('.','/')) rescue nil
|
||||
|
@ -412,4 +412,4 @@ namespace :sync_asia_personal_plugins do
|
|||
res = net_http_get_response(uri + "?#{encrypt_base64}")
|
||||
return JSON.parse(res.body,{object_class: AsiaSyncPlugin::SafeHash})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue