fix error
This commit is contained in:
1 parent
8ac2054a00
commit
b50bc8e490
1 file changed
+2
-2
@@ -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
|
||||
Reference in new issue
Block a user