예제 #1
0
파일: daemon.py 프로젝트: alfredodeza/pacha
 def synchronize(self):
     timestamp = self.is_modified()
     if timestamp:
         daemon_log.info('found modified files in %s' % self.path)
         sync = Sync(path=self.path)
         sync.sync()
         # Since we got a modified file, update the DB: 
         self.store_timestamp(timestamp)