Hi Dne Tue, 13 Jan 2015 17:21:59 -0200 Antonio Terceiro <terce...@debian.org> napsal(a):
> You need to quote the name: > > - name: "067" > url: https://067.cz/rss/ > target: "..." Thanks, I've figured this out. > The config file is parsed as YAML, and a 067 unquoted _will_ be parsed as a > number. > > I can even change feed2imap to handle receiving numbers as the feed name by > converting them to strings, but I can't stop the YAML parser from doing the > octal to decimal conversion for example. I understand that the conversion happens, but that should not break the program from further processing the entry. It seems that it tries to call string method (gsub) on integer or float it gets from the yaml parser. -- Michal Čihař | http://cihar.com | http://blog.cihar.com
pgpwDv_hsj5bu.pgp
Description: OpenPGP digital signature