mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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):
|
def uid(self):
|
||||||
if self._uid is None:
|
if self._uid is None:
|
||||||
for line in self.raw.splitlines():
|
for line in self.raw.splitlines():
|
||||||
if line.startswith(b'UID'):
|
if line.startswith(b'UID:'):
|
||||||
self._uid = line.lstrip(b'UID:').strip()
|
self._uid = line[4:].strip()
|
||||||
return self._uid
|
return self._uid
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue