3
E[                 @   s`   d dl Z d dl mZ d dlZd dlmZ eejddddZej Zej	  G dd	 d	e
ZdS )
    N)Path)Connectzwhisper.htmlrutf8)encodingc               @   s   e Zd Zdd ZdS )Whisperc             C   s$   t j|dkrdpd|||| d}|S )NToddZeven)Z	oddorevencontentdateurlid)whisper_templformat)_idZ_contentZ_dateZ_odd_urlwhisper r   $D:\python\whisper\cgi-bin\whisper.pybuild   s    zWhisper.buildN)__name__
__module____qualname__r   r   r   r   r   r   
   s   r   )pathr   connectr   opentemplateZwhisper_filereadr   closeobjectr   r   r   r   r   <module>   s   