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
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class DiffResult(DiffResultBase, DiffResultUI):
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':