Explorar o código

[Minor] Misplaced bracket

Foppe Hemminga %!s(int64=5) %!d(string=hai) anos
pai
achega
809cae4d4d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cron.py

+ 1 - 1
cron.py

@@ -98,7 +98,7 @@ def cron():
         for item in properties:
             if item not in retrieved_properties:
                 new_properties.append(item)
-        if len(new_properties > 0):
+        if len(new_properties) > 0:
             for item in len(new_properties):
                 query = """SELECT parent FROM properties where property = ?;"""
                 cur.execute(query, (item))