Skip to content

Commit

Permalink
autopep8.sh applied
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed May 21, 2024
1 parent 40c8ee4 commit 2208287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dmeta/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def update(config_file_name, docx_file_name):
xml_element.text = config[personal_field]
e_app.write(app_xml_path, "utf-8", True, None, "xml")

modified_docx = docx_file_name + "_updated"
modified_docx = docx_file_name + "_updated"
with zipfile.ZipFile(modified_docx + ".docx", "w") as docx:
for filename in source_file.namelist():
docx.write(os.path.join(unzipped_dir, filename), filename)
Expand Down
1 change: 1 addition & 0 deletions dmeta/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from zipfile import ZipFile
import defusedxml.ElementTree as ET


def extract_namespaces(xml_file_path):
"""
Return used namespaces in the associated xml file.
Expand Down

0 comments on commit 2208287

Please sign in to comment.