Skip to content

Commit b8a2f44

Browse files
update
1 parent f1f2ed3 commit b8a2f44

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/.VisualScript.py.swp

0 Bytes
Binary file not shown.

src/.VisualScript.py.un~

412 Bytes
Binary file not shown.

src/VisualScript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def webPage(title=, header, content, contentt="", contenttr="", contentb="", con
166166
<html>
167167
<head>
168168
<title>{title}</title>
169-
<link rel="stylesheet" type="text/css" href="{cssfile}">
169+
<link rel="stylesheet" type="text/css/scss" href="{cssfile}">
170170
</head>
171171
<body>
172172
<h1>{header}</h1>

src/VisualScript.py~

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ def process_code(file):
159159
sortedlist = sorted(list)
160160
meannum = sum(sortedlist) / len(sortedlist)
161161
return meannum
162-
def webPage(title, header, content, contentt=None, contenttr=None, contentb=None, contenth=None, contentcb=None, cssfile=None, filename="index.html"):
162+
def webPage(title=, header, content, contentt="", contenttr="", contentb="", contenth="", contentcb="", cssfile=None, filename="index.html"):
163163
filenamecustom = filename
164164
structure = f"""
165165
<!DOCTOTYPE html>
166166
<html>
167167
<head>
168-
<titiel>{title}</title>
168+
<title>{title}</title>
169169
<link rel="stylesheet" type="text/css" href="{cssfile}">
170170
</head>
171171
<body>

0 commit comments

Comments
 (0)