Fixed syntax error at if test. Incorrect closing paranthese position

This commit is contained in:
2019-05-01 00:28:11 +02:00
parent 5559030199
commit c3a23ef344

View File

@@ -90,7 +90,7 @@ def main():
localFiles = getFiles(localPath)
# print('Local files: {}'.format(localFiles))
if len(localFiles > 0):
if len(localFiles) > 0:
logger.info('Local files found: {}'.format(localFiles))
else:
logger.info('No local files found')