mirror of
https://github.com/bryangerlach/rdgen.git
synced 2025-11-29 08:33:23 +00:00
add save/load configuration
This commit is contained in:
@@ -80,6 +80,7 @@ def generator_view(request):
|
|||||||
full_url = f"{protocol}://{host}"
|
full_url = f"{protocol}://{host}"
|
||||||
try:
|
try:
|
||||||
iconfile = form.cleaned_data['iconfile']
|
iconfile = form.cleaned_data['iconfile']
|
||||||
|
print(iconfile)
|
||||||
#iconbase64 = resize_and_encode_icon(iconfile)
|
#iconbase64 = resize_and_encode_icon(iconfile)
|
||||||
iconlink = save_png(iconfile,myuuid,full_url,"icon.png")
|
iconlink = save_png(iconfile,myuuid,full_url,"icon.png")
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user