Fixed an error with initialization of the command line app.
This commit is contained in:
parent
a753f87b80
commit
1e4a25419e
1 changed files with 2 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ class CommandBase(object):
|
|||
self._extract_error = ''
|
||||
self.original_packagejson = {}
|
||||
|
||||
def init(self):
|
||||
self.update_nw_versions(None)
|
||||
self.setup_nw_versions()
|
||||
|
||||
|
|
@ -677,6 +678,7 @@ if __name__ == '__main__':
|
|||
'to web2exe'),
|
||||
prog='web2execmd')
|
||||
command_base = CommandBase()
|
||||
command_base.init()
|
||||
parser.add_argument('project_dir', metavar='project_dir',
|
||||
help='The project directory.')
|
||||
parser.add_argument('--output-dir', dest='output_dir',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue