Prechádzať zdrojové kódy

[Minor] Another typo bug

Foppe Hemminga 5 rokov pred
rodič
commit
8a0db7e981
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      cron.py

+ 1 - 1
cron.py

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