fix services
[auf_rh_dae.git] / project / legacy / management / commands / rh_import_legacy.py
index cbb4877..0510d7d 100644 (file)
@@ -146,7 +146,7 @@ def sync_service():
         rh.Service.objects.create(
             id=s.id,
             nom=s.nom,
-            archive=s.actif,
+            archive=not bool(s.actif),
         )