1
0
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:
Hans-Christoph Steiner 2014-05-01 22:32:54 -04:00
parent d8bae963a9
commit fcca0ddb1f

View File

@ -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