Merge pull request #288 from johnjhacking/patch-1

This commit is contained in:
sickcodes 2021-07-02 14:45:59 +00:00 committed by GitHub
commit e11f62a9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,8 +87,8 @@ class ReplicationError(Exception):
def cmd_exists(cmd):
return subprocess.call("type " + cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0
return subprocess.Popen("type " + cmd, shell=True,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
def replicate_url(full_url,