def pre_upload(**kwargs):
"""
this function gets called prior to an issued upload
If you return False here, you will skip the upload entirely
"""
logger.info(
'DEBUG HOOK pre_upload()\n{kwargs}'.format(
kwargs=pformat(kwargs, indent=4, depth=2),
)
)
评论列表
文章目录