Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruceli-iscool committed Jan 26, 2024
1 parent f1f2ed3 commit b8a2f44
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified src/.VisualScript.py.swp
Binary file not shown.
Binary file modified src/.VisualScript.py.un~
Binary file not shown.
2 changes: 1 addition & 1 deletion src/VisualScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def webPage(title=, header, content, contentt="", contenttr="", contentb="", con
<html>
<head>
<title>{title}</title>
<link rel="stylesheet" type="text/css" href="{cssfile}">
<link rel="stylesheet" type="text/css/scss" href="{cssfile}">
</head>
<body>
<h1>{header}</h1>
Expand Down
4 changes: 2 additions & 2 deletions src/VisualScript.py~
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ def process_code(file):
sortedlist = sorted(list)
meannum = sum(sortedlist) / len(sortedlist)
return meannum
def webPage(title, header, content, contentt=None, contenttr=None, contentb=None, contenth=None, contentcb=None, cssfile=None, filename="index.html"):
def webPage(title=, header, content, contentt="", contenttr="", contentb="", contenth="", contentcb="", cssfile=None, filename="index.html"):
filenamecustom = filename
structure = f"""
<!DOCTOTYPE html>
<html>
<head>
<titiel>{title}</title>
<title>{title}</title>
<link rel="stylesheet" type="text/css" href="{cssfile}">
</head>
<body>
Expand Down

0 comments on commit b8a2f44

Please sign in to comment.