
    hfb                     &    d dl mZmZ d dlmZ d Zy)    )CalendarEvent)datetimec                    t               }	 t        | dd      5 }t        |j                               }d d d        t	               }||_        ||_        ||_        |j                  j                  |       t        | dd      5 }|j                  |       d d d        y# 1 sw Y   lxY w# t        $ r Y zw xY w# 1 sw Y   yxY w)Nrzutf-8)encodingwT)r   openreadFileNotFoundErrorr   namebeginendeventsadd
writelines)calendar_path
event_name
start_timeend_timecalendarcalendar_fileevents          -/var/www/feuerwehr-webapp/modules/calendar.pyadd_event_to_calendarr      s    zH-w7 	6= 2 2 45H	6
 GEEJEKEIOO	mS7	3 +}  *+ 	6 	6 + s3   B+ BB+ B:B($B+ +	B76B7:CN)icsr   r   r   r        r   <module>r      s     r   