Skip to content

Commit 6a87c3b

Browse files
committed
str
1 parent 2cbd582 commit 6a87c3b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

fastcore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.3.22"
1+
__version__ = "1.3.23"

fastcore/xtras.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def untar_dir(fname, dest, rename=False, overwrite=False):
153153
with tempfile.TemporaryDirectory(dir='.') as d:
154154
out = Path(d)/remove_suffix(Path(fname).stem, '.tar')
155155
out.mkdir()
156-
shutil.unpack_archive(fname, out)
156+
shutil.unpack_archive(str(fname), str(out))
157157
ls = out.ls()
158158
src = ls[0] if len(ls) == 1 else out
159159
dest = dest/(out if rename else src).name

nbs/03_xtras.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@
10121012
" with tempfile.TemporaryDirectory(dir='.') as d:\n",
10131013
" out = Path(d)/remove_suffix(Path(fname).stem, '.tar')\n",
10141014
" out.mkdir()\n",
1015-
" shutil.unpack_archive(fname, out)\n",
1015+
" shutil.unpack_archive(str(fname), str(out))\n",
10161016
" ls = out.ls()\n",
10171017
" src = ls[0] if len(ls) == 1 else out\n",
10181018
" dest = dest/(out if rename else src).name\n",

settings.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author = Jeremy Howard and Sylvain Gugger
77
author_email = [email protected]
88
copyright = fast.ai
99
branch = master
10-
version = 1.3.22
10+
version = 1.3.23
1111
min_python = 3.6
1212
audience = Developers
1313
language = English

0 commit comments

Comments
 (0)