o
    ÓLVÞ  ã                   @   s~   d Z ddlmZmZ ddlZddlmZ ddlmZ zddl	m
Z
 e
ed�ZW n ey2   dZY nw dZG dd	„ d	eƒZdS )
zF

Start the celery clock service from the Django management command.

é    )Úabsolute_importÚunicode_literalsN)Úapp)ÚCeleryCommand)ÚMonitorCommandzÑ
You don't have celerymon installed, please install it by running the following
command:

    $ pip install -U celerymon

or if you're still using easy_install (shame on you!)

    $ easy_install -U celerymon
c                   @   s8   e Zd ZdZejere ¡ ej pd ZdZ	dd„ Z
dS )ÚCommandzRun the celery monitor.© zRun the celery monitorc                 O   s,   t du rtj t¡ dS t jdi |¤Ž dS )zHandle the management command.Nr   )ÚmonÚsysÚstderrÚwriteÚMISSINGÚrun)ÚselfÚargsÚoptionsr   r   úX/var/www/html/env/lib/python3.10/site-packages/djcelery/management/commands/celerymon.pyÚhandle%   s   zCommand.handleN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r	   Úget_optionsÚpreload_optionsÚhelpr   r   r   r   r   r      s    ÿr   )r   Ú
__future__r   r   r
   Údjcelery.appr   Údjcelery.management.baser   Úcelerymon.bin.celerymonr   r	   ÚImportErrorr   r   r   r   r   r   Ú<module>   s    ÿ