Skip to content

Commit fa29894

Browse files
Update README.md
1 parent e4af718 commit fa29894

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ def index():
1313
if request.method == 'POST' and 'btn_SetBodyValue' in request.form:
1414
name = request.form['txt_Name']
1515
background_color = request.form['txt_BackgroundColor']
16-
font_size = int(request.form['txt_FontSize'])
16+
font_size = str(request.form['txt_FontSize'])
1717

1818
form = WebForms()
1919

20-
form.set_font_size(InputPlace.tag('form'), font_size)
20+
form.set_font_size(InputPlace.tag('form'), font_size + 'px')
2121
form.set_background_color(InputPlace.tag('form'), background_color)
2222
form.set_disabled(InputPlace.name('btn_SetBodyValue'), True)
2323

@@ -31,7 +31,7 @@ def index():
3131
<html>
3232
<head>
3333
<title>Using WebForms Core</title>
34-
<script type="text/javascript" src="/script/web-forms.js"></script>
34+
<script type="text/javascript" src="https://elanat.net/script/web-forms.js"></script>
3535
</head>
3636
<body>
3737
<form method="post" action="/">

0 commit comments

Comments
 (0)