Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass a bool type as a string to the o_tag function #7

Closed
Yoda-Canada opened this issue Sep 22, 2021 · 1 comment
Closed

pass a bool type as a string to the o_tag function #7

Yoda-Canada opened this issue Sep 22, 2021 · 1 comment

Comments

@Yoda-Canada
Copy link
Contributor

def o_tag(tag, space="", params_str=None, close_tag=False) have four arguments and the third argument is string, but the coding line 146 pass a bool type.

  Lines = ["<doctype html>",
          o_tag("html", 'lang="{}"'.format(lang), True),
@Loran-l
Copy link
Owner

Loran-l commented Sep 22, 2021

Good find.
Fixed. Removed extra argument.

@Loran-l Loran-l closed this as completed Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants