Update human_file_size helper function
This commit is contained in:
@@ -1071,7 +1071,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
||||
'subtitle_language_code': notify_params['subtitle_language_code'],
|
||||
'file': notify_params['file'],
|
||||
'filename': os.path.basename(notify_params['file']),
|
||||
'file_size': helpers.humanFileSize(notify_params['file_size']),
|
||||
'file_size': helpers.human_file_size(notify_params['file_size']),
|
||||
'indexes': notify_params['indexes'],
|
||||
'section_id': notify_params['section_id'],
|
||||
'rating_key': notify_params['rating_key'],
|
||||
|
Reference in New Issue
Block a user