fixed issue 1179, welcome.w2p created if not exists

This commit is contained in:
mdipierro
2012-11-24 10:48:27 -06:00
parent 71fb544eaa
commit 43c97bd8cc
3 changed files with 12 additions and 9 deletions
-8
View File
@@ -975,14 +975,6 @@ def console():
if not os.path.exists('applications/__init__.py'):
write_file('applications/__init__.py', '')
if not os.path.exists('welcome.w2p') or os.path.exists('NEWINSTALL'):
try:
w2p_pack('welcome.w2p', 'applications/welcome')
os.unlink('NEWINSTALL')
except:
msg = "New installation: unable to create welcome.w2p file"
sys.stderr.write(msg)
return (options, args)