mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 21:46:44 +00:00
Merge pull request #975 from tcely/patch-2
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions
Remove extra white-space
This commit is contained in:
commit
0aaa8350c7
@ -859,7 +859,7 @@ class Media(models.Model):
|
||||
'''
|
||||
fetch the first key with a value from metadata
|
||||
'''
|
||||
|
||||
|
||||
if arg_dict is None:
|
||||
arg_dict = self.loaded_metadata
|
||||
assert isinstance(arg_dict, dict), type(arg_dict)
|
||||
@ -938,7 +938,7 @@ class Media(models.Model):
|
||||
return str(fmt.get('id'))
|
||||
return False
|
||||
return False
|
||||
|
||||
|
||||
def get_display_format(self, format_str):
|
||||
'''
|
||||
Returns a tuple used in the format component of the output filename. This
|
||||
@ -1223,7 +1223,7 @@ class Media(models.Model):
|
||||
metadata = self.index_metadata()
|
||||
if self.skip:
|
||||
return False
|
||||
|
||||
|
||||
response = metadata
|
||||
if getattr(settings, 'SHRINK_NEW_MEDIA_METADATA', False):
|
||||
response = filter_response(metadata, True)
|
||||
|
Loading…
Reference in New Issue
Block a user