소스 검색

[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']