From 586b3700b30ea2d9afccec5ac73503e202d737d0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 1 Oct 2024 22:00:42 +0200 Subject: [PATCH] Adjust Python version in init script (#501) --- motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run b/motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run index 1afa6b8..a13e9d4 100755 --- a/motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run +++ b/motioneye/rootfs/etc/s6-overlay/s6-rc.d/init-motioneye/run @@ -19,13 +19,13 @@ fi # Migration if bashio::fs.file_exists "${CONF}"; then bashio::log.debug "Running startup migrations" - /usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh "${CONF}" + /usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh "${CONF}" find /data/motioneye/ \ -maxdepth 1 \ -type f \ -name "thread-*.conf" \ -exec \ - /usr/lib/python3.11/site-packages/motioneye/scripts/migrateconf.sh {} \; + /usr/lib/python3.12/site-packages/motioneye/scripts/migrateconf.sh {} \; fi # Configure motion webcontrol access