'write_xattr' needs to be manually imported from 'utils' now.
This commit is contained in:
parent
5cb3d7bf22
commit
950fd1402a
BIN
youtube-dl
BIN
youtube-dl
Binary file not shown.
@ -797,7 +797,7 @@ class YoutubeDL(object):
|
|||||||
# * figure out which xattrs can be used for 'duration', 'thumbnail', 'resolution'
|
# * figure out which xattrs can be used for 'duration', 'thumbnail', 'resolution'
|
||||||
#
|
#
|
||||||
try:
|
try:
|
||||||
write_xattr
|
from .utils import write_xattr, hyphenate_date
|
||||||
except NameError: # This box can't set xattrs
|
except NameError: # This box can't set xattrs
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user