Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set correct license

Roland Geider9fcbb0a33530
diff --git a/wger/nutrition/models/image.py b/wger/nutrition/models/image.py
index 852756105..1d916bf15 100644
--- a/wger/nutrition/models/image.py
+++ b/wger/nutrition/models/image.py
@@ -85,7 +85,7 @@ class Image(AbstractLicenseModel, models.Model, BaseImage):
)
image.ingredient = connect_to
- image.license = License.objects.get(pk=2)
+ image.license = License.objects.get(pk=1)
image.license_author = json_data['license_author']
image.size = json_data['size']