diff --git a/suitablephones/management/commands/fetchphones.py b/suitablephones/management/commands/fetchphones.py index add06d8..33a1f5a 100644 --- a/suitablephones/management/commands/fetchphones.py +++ b/suitablephones/management/commands/fetchphones.py @@ -37,6 +37,7 @@ class Command(BaseCommand): Bluetooth.objects.all().delete() Camera.objects.all().delete() devicesdir = settings.LINEAGEWIKI + "/_data/devices/" + # import pdb; pdb.set_trace() for filename in os.listdir(devicesdir): with open(os.path.join(devicesdir, filename), "r") as stream: @@ -86,4 +87,5 @@ class Command(BaseCommand): dev.save() except yaml.YAMLError as exc: print(exc) - stream.close() \ No newline at end of file + stream.close() + \ No newline at end of file