mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixups post-review
This commit is contained in:
parent
d3c4bcc254
commit
ee80399be1
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import shlex
|
||||
import shutil
|
||||
import sys
|
||||
import datetime
|
||||
|
|
@ -8,6 +9,7 @@ import datetime
|
|||
from invoke import task
|
||||
from invoke.main import program
|
||||
from invoke.util import cd
|
||||
from pelican import main as pelican_main
|
||||
from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer
|
||||
from pelican.settings import DEFAULT_CONFIG, get_settings_from_file
|
||||
|
||||
|
|
@ -151,4 +153,4 @@ def gh_pages(c):
|
|||
|
||||
def pelican_run(cmd):
|
||||
cmd += ' ' + program.core.remainder # allows to pass-through args to pelican
|
||||
pelican_main(cmd.split(' '))
|
||||
pelican_main(shlex.split(cmd))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue