reduce debug output

This commit is contained in:
j 2016-01-19 16:50:24 +05:30
parent b2c3d9f47b
commit 51c5c38477

View file

@ -341,7 +341,7 @@ class Item(db.Model):
# of fall back to first peer that has this item # of fall back to first peer that has this item
# in case its not available locally # in case its not available locally
if not sync_from and self.info['mediastate'] != 'available' and first_peer: if not sync_from and self.info['mediastate'] != 'available' and first_peer:
logger.debug('syncing from first peer that has item %s', first_peer) #logger.debug('syncing from first peer that has item %s', first_peer)
sync_from = first_peer sync_from = first_peer
if sync_from: if sync_from:
if self.get_hash() != sync_from.data_hash: if self.get_hash() != sync_from.data_hash: