1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 05:36:19 +00:00

Fix diff-bug with removed/added links

Fixes #350
This commit is contained in:
Julian Hofer 2019-08-22 14:33:21 +02:00 committed by Hofer-Julian
parent eb2b47b4b1
commit d770763c96

View file

@ -44,7 +44,7 @@ def parse_line(line):
size = line_splitted[0][1:]
unit = line_splitted[1]
if line_splitted[1] != 'directory':
if line_splitted[1] not in ['directory', 'link']:
if unit == 'B':
size = int(size)
elif unit == 'kB':