From 1be0dfa7c4d5a96993b65f92350a4b3900b211e4 Mon Sep 17 00:00:00 2001 From: d0c Date: Mon, 23 Jan 2023 16:54:25 +0100 Subject: [PATCH] pdb --- suitablephones/management/commands/fetchphones.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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