kopia lustrzana https://github.com/yt-dlp/yt-dlp
[__init__] Work around flake8 false positive
rodzic
37f4ce538a
commit
cc1237f484
|
@ -244,6 +244,7 @@ def _real_main(argv=None):
|
||||||
if opts.xattr_set_filesize:
|
if opts.xattr_set_filesize:
|
||||||
try:
|
try:
|
||||||
import xattr
|
import xattr
|
||||||
|
xattr # Confuse flake8
|
||||||
except ImportError:
|
except ImportError:
|
||||||
parser.error('setting filesize xattr requested but python-xattr is not available')
|
parser.error('setting filesize xattr requested but python-xattr is not available')
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue