From bcb8a8e367c308e89204a287fc9c531fe97c5035 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 17 Nov 2020 16:31:44 -0500 Subject: fixed a bug in src build --- app/builder/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/builder') diff --git a/app/builder/base.py b/app/builder/base.py index 7b99c58..532deea 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -37,7 +37,7 @@ class _FileWriter(object): class BuildNew(): - def __init__(self, model, app, site=1): + def __init__(self, model, app, site='luxagraf.net'): self.site = Site.objects.get(domain=site) self.model = apps.get_model(model, app) self.get_model_queryset() @@ -381,7 +381,6 @@ class BuildProjects(Build): js = leaflet_providers_js + natparks_js self.write_file('media/js/', js.encode('utf-8'), 'js', 'natparks') - class BuildSitemap(Build): def build(self): c = Client() -- cgit v1.2.3-70-g09d2