Skip to content

Commit

Permalink
only sync zedxmini when parameter is set
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalzauberzeug committed Sep 9, 2024
1 parent b531127 commit a6f8121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
print('Ensuring we have no local rosys on the robot')
run_subprocess(f'ssh {args.robot} "rm -rf ~/field_friend/rosys"')

# if args.zedxmini:
folders.append(Folder('../zedxmini', f'{args.robot}:~/zedxmini', on_change=touch))
if args.zedxmini:
folders.append(Folder('../zedxmini', f'{args.robot}:~/zedxmini', on_change=touch))
# else:
# print('Ensuring we have no local zedxmini on the robot')
# run_subprocess(f'ssh {args.robot} "rm -rf ~/zedxmini"')
Expand Down

0 comments on commit a6f8121

Please sign in to comment.