Skip to content

Commit 64dcfe1

Browse files
committed
[fdiff.remote] refactor function name
1 parent b8f4cf2 commit 64dcfe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fdiff/remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import aiofiles
77

88

9-
def _get_temp_filepath_from_url(url, dirpath):
9+
def _get_filepath_from_url(url, dirpath):
1010
url_path_list = urllib.parse.urlsplit(url)
1111
abs_filepath = url_path_list.path
1212
basepath = os.path.split(abs_filepath)[-1]
@@ -34,7 +34,7 @@ async def async_fetch_and_write(session, url, dirpath):
3434
filepath = None
3535
return url, filepath, False
3636
else:
37-
filepath = _get_temp_filepath_from_url(url, dirpath)
37+
filepath = _get_filepath_from_url(url, dirpath)
3838
await async_write(filepath, binary)
3939
return url, filepath, True
4040

0 commit comments

Comments
 (0)