Просмотр исходного кода

Fix the populate script

It was inverting the private field on links
Trevor Elliott 4 лет назад
Родитель
Сommit
c81a263b56
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/populate.py

+ 1 - 1
scripts/populate.py

@@ -28,7 +28,7 @@ def main():
             url=l["href"],
             name=l["description"],
             description=l["extended"],
-            private=l["shared"] == "yes",
+            private=l["shared"] == "no",
             tags=l["tags"].split(),
             created=time,
         )