Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
aa
indexalist
Commits
220d9e83
Commit
220d9e83
authored
Dec 19, 2020
by
Michael Murtaugh
Browse files
utf-8 errors, urlencode
parent
d910bc58
Changes
1
Hide whitespace changes
Inline
Side-by-side
indexalist/data/templates/Sconstruct.py
View file @
220d9e83
...
...
@@ -209,7 +209,7 @@ FolderMeta = Builder(action=make_folder_meta)
def
ffmpeg_get_meta
(
target
,
source
,
env
):
d
=
ffmpeg_get_info
(
source
[
0
].
path
)
d
[
'id'
]
=
urlquote
(
os
.
path
.
basename
(
source
[
0
].
path
))
d
[
'id'
]
=
urlquote
(
os
.
path
.
basename
(
source
[
0
].
path
)
,
errors
=
"replace"
)
def
relurl
(
x
):
return
urlquote
(
os
.
path
.
relpath
(
str
(
x
),
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
dirname
(
target
[
0
].
path
)))))
for
s
in
source
[
1
:]:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment