Skip to content

Commit

Permalink
removed python2 when calling remote script
Browse files Browse the repository at this point in the history
  • Loading branch information
shodanshok committed Oct 10, 2022
1 parent 87994a2 commit 3ea5950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocksync.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def sync(srcpath, dsthost, dstpath):
print "Read cache : "+str(not options.nocache)
print "SRC command : "+" ".join(sys.argv)
# Generate server command
cmd = ['python2', __file__, 'server', dstpath, '-a', options.hashalg,
cmd = [__file__, 'server', dstpath, '-a', options.hashalg,
'-b', str(options.blocksize), '-k', str(options.skip)]
if options.sudo:
cmd = ['sudo'] + cmd
Expand Down

0 comments on commit 3ea5950

Please sign in to comment.