Skip to content

Commit

Permalink
Bytestrings for the command are unnecessary and break Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 30, 2017
1 parent 496a4ad commit c049af5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/command/auto/__init__.py
Expand Up @@ -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...")
Expand Down

0 comments on commit c049af5

Please sign in to comment.