mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fixed bug
This commit is contained in:
parent
c90e05b902
commit
1e248140b7
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@ class Item(object):
|
|||
def uid(self):
|
||||
if self._uid is None:
|
||||
for line in self.raw.splitlines():
|
||||
if line.startswith(b'UID'):
|
||||
self._uid = line.lstrip(b'UID:').strip()
|
||||
if line.startswith(b'UID:'):
|
||||
self._uid = line[4:].strip()
|
||||
return self._uid
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue