From 93e92073ad4aa6d2a65d58a3175c30a92ae1de48 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Sep 2018 09:54:14 +0530 Subject: [PATCH] Modified update call Former-commit-id: 1fdfc62232250677b6b20e55ef2ab382f21be9db --- pwnedornot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnedornot.py b/pwnedornot.py index e046da2..a1e16f6 100755 --- a/pwnedornot.py +++ b/pwnedornot.py @@ -37,7 +37,7 @@ def update(): ans = raw_input(G + '[!]' + C + ' Update ? [y/n] : ' + W) if ans == 'y': print ('\n' + G + '[+]' + C + ' Updating...' + '\n') - subprocess.Popen(['git', 'pull'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + subprocess.call(['git', 'pull']) print (G + '[+]' + C + ' Script Updated...Please Execute Again...') exit() else: