lib/client.rb in navi_client-1.1.9 vs lib/client.rb in navi_client-1.2.0

- old
+ new

@@ -4,11 +4,10 @@ require 'base64' require 'fileutils' require 'yaml' -require "pry" require "logger" require "httparty" require "http_service/naviai" @@ -98,10 +97,10 @@ meta["subject"] = mail.subject meta["date"] = mail.date.to_s if mail.multipart? for i in 0...mail.parts.length - m = download(mail, custom_uid) + m = download(mail.parts[i], custom_uid) meta.merge!(m) unless m.nil? end else m = download(mail, custom_uid) meta.merge!(m) unless m.nil?