From 48ed29de17503c0b11dff72e301bd06c37c3bed6 Mon Sep 17 00:00:00 2001 From: fti-akumari <159221208+fti-akumari@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:02:35 +0530 Subject: [PATCH] Update client.py --- src/aioftp/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/aioftp/client.py b/src/aioftp/client.py index 6c366da..6017ed7 100644 --- a/src/aioftp/client.py +++ b/src/aioftp/client.py @@ -517,7 +517,6 @@ def parse_list_line_windows(self, b): info = {} info["modify"] = self.format_date_time(date_time) next_space = line.index(" ") - if line.startswith(""): info["type"] = "dir" else: @@ -531,7 +530,6 @@ def parse_list_line_windows(self, b): filename = line[next_space:].lstrip() if filename == "." or filename == "..": raise ValueError - return pathlib.PurePosixPath(filename), info def parse_list_line(self, b):