mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Use shorter and non-redundant 'or' clauses for 'if True else' assignments
This commit is contained in:
parent
eaf3216e40
commit
3dbf99a7f2
5 changed files with 10 additions and 10 deletions
|
|
@ -189,7 +189,7 @@ def main():
|
|||
|
||||
# Redundant summaries
|
||||
summary = app['Summary']
|
||||
name = str(app['Name'] if app['Name'] else app['Auto Name'])
|
||||
name = app['Name'] or app['Auto Name']
|
||||
if summary and name:
|
||||
summary_l = summary.lower()
|
||||
name_l = name.lower()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue