'write_xattr' needs to be manually imported from 'utils' now.

This commit is contained in:
epitron 2013-11-24 00:46:26 -05:00
parent 5cb3d7bf22
commit 950fd1402a
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -797,7 +797,7 @@ class YoutubeDL(object):
# * figure out which xattrs can be used for 'duration', 'thumbnail', 'resolution'
#
try:
write_xattr
from .utils import write_xattr, hyphenate_date
except NameError: # This box can't set xattrs
return False