From a6f8121b027c85cdac3c5c8a3646fa1fa7ea22d0 Mon Sep 17 00:00:00 2001 From: Pascal Schade Date: Mon, 9 Sep 2024 14:45:34 +0200 Subject: [PATCH] only sync zedxmini when parameter is set --- sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync.py b/sync.py index 05e3c6d2..60e798f0 100755 --- a/sync.py +++ b/sync.py @@ -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"')