diff --git a/infoscreen/management/commands/importabb.py b/infoscreen/management/commands/importabb.py index 9e0a587..3db581c 100644 --- a/infoscreen/management/commands/importabb.py +++ b/infoscreen/management/commands/importabb.py @@ -42,5 +42,5 @@ def gen_qr(sw_id): img = qrcode.make("http://sahkoinsinoorikilta.fi/news/{}".format(sw_id)) imgname = "abbjobs_{}.png".format(sw_id) imgurl = "{}qr/{}".format(settings.MEDIA_URL,imgname) - img.save("{}qr/{}".format(settings.MEDIA_ROOT,imgname)) + img.save("{}/qr/{}".format(settings.MEDIA_ROOT,imgname)) return imgurl