mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-03 16:41:27 +01:00
updated legacy folder
This commit is contained in:
1 parent
44f844bbd9
commit
2a73c062bb
2 files changed
+2
-1
No files matched your search
@@ -41,7 +41,7 @@ class Command(BaseCommand):
|
||||
iced_tea = Category.objects.get_or_create(name='Iced Tea', defaults={'slug': 'iced-tea'})[0]
|
||||
packs = Category.objects.get_or_create(name='Packs and other', defaults={'slug': 'packs-and-other'})[0]
|
||||
|
||||
legacy_dir = os.path.join(settings.BASE_DIR, '..', 'legacy')
|
||||
legacy_dir = os.path.join(settings.BASE_DIR, 'legacy')
|
||||
if not os.path.exists(legacy_dir):
|
||||
self.stdout.write(self.style.ERROR(f"Legacy directory not found at {legacy_dir}"))
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user