Skip to content

Commit

Permalink
remove extra .keys()
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemIsmagilov authored and tobixen committed Jun 13, 2024
1 parent 41092b6 commit f385cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caldav/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,13 @@ def get_properties(
"Possibly the server has a path handling problem, possibly the URL configured is wrong.\n"
"Path expected: %s, path found: %s %s.\n"
"Continuing, probably everything will be fine"
% (path, str(list(properties.keys())), error.ERR_FRAGMENT)
% (path, str(list(properties)), error.ERR_FRAGMENT)
)
rc = list(properties.values())[0]
else:
log.error(
"Possibly the server has a path handling problem. Path expected: %s, paths found: %s %s"
% (path, str(list(properties.keys())), error.ERR_FRAGMENT)
% (path, str(list(properties)), error.ERR_FRAGMENT)
)
error.assert_(False)

Expand Down

0 comments on commit f385cd9

Please sign in to comment.