commit bdd0a9a2af1e449e5b61bc374f8ed588983dda81
parent 74dbe4b8b4e3818f105bebaa21530fb4cae3b06e
Author: rbckman <rob@tarina.org>
Date: Sat, 23 Mar 2024 15:10:51 +0000
im gonzo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -870,7 +870,7 @@ def main():
elif 'SYNCIP:' in pressed:
msg = pressed.split(':')[1]
syncfolder=msg.split('|')[1]
- ip = ip.split(':')[0]
+ ip = msg.split(':')[0]
vumetermessage('SYNCING!')
stopinterface(camera)
video_files=shotfiles(filmfolder, filmname, scene)
@@ -895,7 +895,7 @@ def main():
stopinterface(camera)
msg = pressed.split(':')[1]
syncfolder=msg.split('|')[1]
- ip = pressed.split(':')[1]
+ ip = pressed.split(':')[0]
logger.info('SYNCING from ip:'+ip)
run_command('ssh-copy-id pi@'+ip)
try: