ソースを参照

[Minor] Another typo bug

Foppe Hemminga 5 年 前
コミット
8a0db7e981
1 ファイル変更1 行追加1 行削除
  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']