mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-22 22:23:36 -07:00
Update importlib-resources==5.10.1
This commit is contained in:
parent
acd74c43eb
commit
ff95915d14
1 changed files with 2 additions and 1 deletions
|
@ -203,5 +203,6 @@ def _write_contents(target, source):
|
||||||
for item in source.iterdir():
|
for item in source.iterdir():
|
||||||
_write_contents(child, item)
|
_write_contents(child, item)
|
||||||
else:
|
else:
|
||||||
child.open('wb').write(source.read_bytes())
|
with child.open('wb') as fp:
|
||||||
|
fp.write(source.read_bytes())
|
||||||
return child
|
return child
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue