mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Quote etags.
This commit is contained in:
parent
6545bc8273
commit
97c1675741
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ class Calendar(object):
|
|||
|
||||
def etag(self):
|
||||
"""Return etag from calendar."""
|
||||
return hash_tag(self.vcalendar())
|
||||
return '"%s"' % hash_tag(self.vcalendar())
|
||||
|
||||
class Event(object):
|
||||
"""Internal event class."""
|
||||
|
@ -72,7 +72,7 @@ class Event(object):
|
|||
|
||||
def etag(self):
|
||||
"""Return etag from event."""
|
||||
return hash_tag(self.text)
|
||||
return '"%s"' % hash_tag(self.text)
|
||||
|
||||
class Header(object):
|
||||
"""Internal header class."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue