Capitalize default option in download-deps.py

This commit is contained in:
Oscar Utbult 2015-06-09 23:54:03 +02:00
parent a202387800
commit 76a3db6f29
1 changed files with 2 additions and 2 deletions

View File

@ -199,10 +199,10 @@ class CocosZipInstaller(object):
print("==> Extraction done!") print("==> Extraction done!")
def ask_to_delete_downloaded_zip_file(self): def ask_to_delete_downloaded_zip_file(self):
ret = self.get_input_value("==> Do you want to keep '%s'? So you don't have to download it later. (yes/no): " % self._filename) ret = self.get_input_value("==> Would you like to save '%s'? So you don't have to download it later. [Yes/no]: " % self._filename)
ret = ret.strip() ret = ret.strip()
if ret != 'yes' and ret != 'y' and ret != 'no' and ret != 'n': if ret != 'yes' and ret != 'y' and ret != 'no' and ret != 'n':
print("==> Cache the dependency libraries by default") print("==> Saving the dependency libraries by default")
return False return False
else: else:
return True if ret == 'no' or ret == 'n' else False return True if ret == 'no' or ret == 'n' else False