Skip to content

Commit 616a5b1

Browse files
authored
Beta 0.43.1b4 (#3146)
Signed-off-by: MichaIng <micha@dietpi.com>
2 parents e9d629b + a4444c8 commit 616a5b1

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ You can contribute to translations on [__Weblate__](https://hosted.weblate.org/p
1313

1414
# Installation
1515

16-
These install instructions are constantly tested via CI/CD pipeline on Debian Bullseye and Ubuntu Focal.
17-
1816
1. Install **Python 3.7 or later** and build dependencies
1917

2018
_Here the commands for APT-based Linux distributions are given._

motioneye/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "0.43.1b3"
1+
VERSION = "0.43.1b4"

motioneye/controls/v4l2ctl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import stat
2222
import subprocess
2323
import time
24+
from shlex import quote
2425

2526
from motioneye import utils
2627

@@ -89,7 +90,7 @@ def list_resolutions(device):
8990
resolutions = set()
9091
output = b''
9192
started = time.time()
92-
cmd = f"v4l2-ctl -d '{device}' --list-formats-ext | grep -vi stepwise | grep -oE '[0-9]+x[0-9]+' || true"
93+
cmd = f"v4l2-ctl -d {quote(device)} --list-formats-ext | grep -vi stepwise | grep -oE '[0-9]+x[0-9]+' || true"
9394
logging.debug(f'running command "{cmd}"')
9495

9596
try:

0 commit comments

Comments
 (0)