posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

Small fix to New task #157

Closed hooli closed 11 years ago

hooli commented 11 years ago

Hi,

Noticed if the EDITOR variable had a parameter, it did not work. eg for textmate, EDITOR=/usr/local/bin/mate -w It would look for an executable in argv[0] which was "/usr/local/bin/mate -w" The argument should be split out in the paramters

posativ commented 11 years ago

Hi,

can you please replace str.split with shlex.split from the shlex module? I'll merge this PR then.

hooli commented 11 years ago

Good idea. Also had to change the filename generation, since with my conf file, which uses URLs ending in .html, dirname was stripping the filename out.