Skip to content

Commit

Permalink
paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
menckend committed Oct 20, 2024
1 parent 54af0cf commit 0807b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox_ptov/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def golab(request):
for swname in swl_in:
print (swname, type(swname))
swl.append(str(swname))
messages.add_message(request, messages.INFO, 'Switch-list: ' + str(swl)t, extra_tags='safe')
messages.add_message(request, messages.INFO, 'Switch-list: ' + str(swl), extra_tags='safe')
srv = form.cleaned_data['serverselect_in'].name
prn = form.cleaned_data['prjname_in']
# Do something with the text (e.g., save to database)

messages.add_message(request, messages.INFO, 'GNS3 server: ' + str(srv)t, extra_tags='safe')
messages.add_message(request, messages.INFO, 'GNS3 server: ' + str(srv), extra_tags='safe')
result_out = str(dcnodatg.p_to_v(username=unm, passwd=pwd , servername=srv, switchlist=swl, prjname=prn))
messages.add_message(request, messages.SUCCESS, 'Project URL: ' + result_out, extra_tags='safe')
return render(request, 'golab.html', {'form': form})
Expand Down

0 comments on commit 0807b13

Please sign in to comment.