mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'"
This commit is contained in:
parent
d8bae963a9
commit
fcca0ddb1f
@ -154,7 +154,7 @@ def main():
|
||||
logging.critical("The only commands currently supported are 'init' and 'update'")
|
||||
sys.exit(1)
|
||||
|
||||
if config.get('nonstandardwebroot') == True:
|
||||
if config.get('nonstandardwebroot') is True:
|
||||
standardwebroot = False
|
||||
else:
|
||||
standardwebroot = True
|
||||
|
Loading…
Reference in New Issue
Block a user