from __future__ import unicode_literals

from django.apps import AppConfig

from worker.utils import LircListener


class WorkerConfig(AppConfig):
    name = 'worker'

    def ready(self):
        lirc_name = getattr(settings, 'RIKER_LIRC_LISTENER_NAME', 'riker')
        LircListener(lirc_name=lirc_name).start()

from __future__ import unicode_literals

from django.apps import AppConfig

from worker.utils import LircListener


class WorkerConfig(AppConfig):
    name = 'worker'

Remove prematurely inserted 'ready' method
Remove prematurely inserted 'ready' method

  from __future__ import unicode_literals
  
  from django.apps import AppConfig
  
  from worker.utils import LircListener
  
  
  class WorkerConfig(AppConfig):
      name = 'worker'
  
-     def ready(self):
-         lirc_name = getattr(settings, 'RIKER_LIRC_LISTENER_NAME', 'riker')
-         LircListener(lirc_name=lirc_name).start()
- 
Remove prematurely inserted 'ready' method
## Code Before:
from __future__ import unicode_literals

from django.apps import AppConfig

from worker.utils import LircListener


class WorkerConfig(AppConfig):
    name = 'worker'

    def ready(self):
        lirc_name = getattr(settings, 'RIKER_LIRC_LISTENER_NAME', 'riker')
        LircListener(lirc_name=lirc_name).start()

## Instruction:
Remove prematurely inserted 'ready' method
## Code After:
from __future__ import unicode_literals

from django.apps import AppConfig

from worker.utils import LircListener


class WorkerConfig(AppConfig):
    name = 'worker'
