Modified update call

Former-commit-id: 1fdfc62232
This commit is contained in:
root
2018-09-12 09:54:14 +05:30
parent f9fae33eb5
commit 93e92073ad
+1 -1
View File
@@ -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: