mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-14 10:54:29 -04:00
fix PEP8 "E712 comparison to True should be 'if cond is True:' or 'if cond:'"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user