diff --git a/command_line.py b/command_line.py index 9e4be83..108d4d2 100644 --- a/command_line.py +++ b/command_line.py @@ -1,6 +1,6 @@ '''Command line module for web2exe.''' -__version__ = "v0.2.9b" +__version__ = "v0.3.0b" import ssl @@ -966,6 +966,9 @@ class CommandBase(object): batcontents = '{}\n{}'.format(env_vars, contents) bat_file = utils.path_join(TEMP_DIR, '{}.bat'.format(self.project_name())) + + self.logger.debug(batcontents) + with open(bat_file, 'w+') as f: f.write(batcontents) @@ -984,8 +987,6 @@ class CommandBase(object): if error: f.write('\n\nErrors:\n{}\n'.format(error)) - - self.progress_text = 'Done executing script.' else: self.progress_text = '\nThe script {} does not exist. Not running.'.format(script)