Skip to content
Snippets Groups Projects
Unverified Commit b94e2562 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix typo.

parent 4b4cd60a
No related branches found
No related tags found
No related merge requests found
from datetime import date, time
from typing import ByteIO, Optional
from typing import BinaryIO, Optional
from xml.dom import minidom, Node
from django.http import HttpRequest
......@@ -28,7 +28,7 @@ def get_child_node_id(node: Node, tag: str) -> Optional[str]:
return None
def untis_import_xml(request: HttpRequest, untis_xml: Union{ByteIO, str]) -> None:
def untis_import_xml(request: HttpRequest, untis_xml: Union{BinaryIO, str]) -> None:
dom = minidom.parse(untis_xml)
subjects = dom.getElementsByTagName('subject')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment