Skip to content
Permalink
Browse files

Bytestrings for the command are unnecessary and break Windows

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 30, 2017
1 parent 496a4ad commit c049af53a926946b47b1c4d092d7045e2a5337fb
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/command/auto/__init__.py
@@ -124,9 +124,9 @@ def _execute(self, options, args):
elif Observer is None:
req_missing(['watchdog'], 'use the "auto" command')

self.nikola_cmd = [b'nikola', b'build']
self.nikola_cmd = ['nikola', 'build']
if self.site.configuration_filename != 'conf.py':
self.nikola_cmd.append(('--conf=' + self.site.configuration_filename).encode('utf-8'))
self.nikola_cmd.append('--conf=' + self.site.configuration_filename)

# Run an initial build so we are up-to-date (synchronously)
self.logger.info("Rebuilding the site...")

0 comments on commit c049af5

Please sign in to comment.