Skip to content

Commit 2219802

Browse files
authored
Merge pull request #996 from acrilique/patch-1
Fix quote import in python 3.13
2 parents 9ed40bc + c2cdaf8 commit 2219802

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/Python/utils/mp4-dash-encode.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
from optparse import OptionParser
44
from subprocess import check_output, CalledProcessError
5-
from pipes import quote
65
import sys
6+
if not sys.version_info < (3, 13):
7+
from shlex import quote
8+
else:
9+
from pipes import quote
710
import os
811
import os.path as path
912
import json

0 commit comments

Comments
 (0)