skip instead of cancle update

This commit is contained in:
simon 2021-12-06 16:55:55 +07:00
parent 82a71ed75d
commit 5c26be43e6
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -2,7 +2,6 @@
""" check requirements.txt for outdated packages """ """ check requirements.txt for outdated packages """
import pathlib import pathlib
import sys
import requests import requests
@ -109,8 +108,7 @@ def main():
if input_response == "y": if input_response == "y":
handler.apply_updates() handler.apply_updates()
else: else:
print("cancel update...") print("skip update...")
sys.exit(1)
if __name__ == "__main__": if __name__ == "__main__":