summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@debian.org>2013-08-13 00:39:25 +0200
committerAntonio Terceiro <terceiro@softwarelivre.org>2013-08-13 01:38:12 +0200
commit2f0e3542adcf7242f8a3401363752aab4cfa1961 (patch)
tree34a22f140cafd51d9f3057163fe77ca7fd089258 /lib
parent8a67da3fce83c4a9739ef429b78e16549db1df67 (diff)
downloadfeed2imap-2f0e3542adcf7242f8a3401363752aab4cfa1961.tar.gz
feed2imap-2f0e3542adcf7242f8a3401363752aab4cfa1961.tar.bz2
feed2imap-2f0e3542adcf7242f8a3401363752aab4cfa1961.zip
Keep the maildir path instact
So maildir:///path/to/maildir points to /path/to/maildir
Diffstat (limited to '')
-rw-r--r--lib/feed2imap/config.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/feed2imap/config.rb b/lib/feed2imap/config.rb
index fd4e94f..1f179a5 100644
--- a/lib/feed2imap/config.rb
+++ b/lib/feed2imap/config.rb
@@ -71,7 +71,6 @@ class F2IConfig
if f['disable'].nil?
uri = URI::parse(f['target'].to_s)
path = URI::unescape(uri.path)
- path = path[1..-1] if path[0,1] == '/'
if uri.scheme == 'maildir'
@feeds.push(ConfigFeed::new(f, maildir_account, path, self))
else