Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Jan 2, 2025
2 parents 871558e + a8c5ac1 commit f6870be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions motioneye/meyectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import locale
import logging
import os.path
import pipes
import sys
from shlex import quote

import babel

Expand Down Expand Up @@ -91,7 +91,7 @@ def find_command(command):
cmd = sys.executable + ' ' + cmd
cmd = cmd.replace('-b', '') # remove server-specific options
cmd += ' %s ' % command
cmd += ' '.join([pipes.quote(arg) for arg in sys.argv[2:] if arg not in ['-b']])
cmd += ' '.join([quote(arg) for arg in sys.argv[2:] if arg not in ['-b']])

return cmd

Expand Down

0 comments on commit f6870be

Please sign in to comment.