Skip to content

Commit

Permalink
bgufix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobixen committed Nov 18, 2024
1 parent 615dc21 commit 7a7c071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions caldav/lib/vcal.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def create_ical(ical_fragment=None, objtype=None, language="en_DK", **props):
I somehow feel this fits more into the icalendar library than here
"""
ical_fragment = to_normal_str(ical_fragment)
if 'class_' in props:
props['class'] = props.pop('class_')
if not ical_fragment or not re.search("^BEGIN:V", ical_fragment, re.MULTILINE):
my_instance = icalendar.Calendar()
if objtype is None:
Expand Down
1 change: 1 addition & 0 deletions check_server_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ def check_event(self):
if len(events) == 1:
self.set_flag("combined_search_not_working", False)
elif len(events) == 0:
import pdb; pdb.set_trace()
self.set_flag("combined_search_not_working", True)
else:
import pdb
Expand Down

0 comments on commit 7a7c071

Please sign in to comment.