~psivaa/core-image-watcher/image-watcher-udf

« back to all changes in this revision

Viewing changes to core_image_watcher/__init__.py

  • Committer: Parameswaran Sivatharman
  • Date: 2015-03-26 17:55:33 UTC
  • Revision ID: para.siva@canonical.com-20150326175533-j3xc58wm2u54vpvc
Sleep after finding the latest version

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
                                                          device)
168
168
                if message_body:
169
169
                    worker.enqueue(message_body)
170
 
                else:
171
 
                    time.sleep(poll_period)
 
170
                time.sleep(poll_period)
172
171
        except KeyboardInterrupt:
173
172
            print('Bye!')