Skip to content

Commit

Permalink
makedirs for generated docs file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vano committed Oct 20, 2024
1 parent 0b76fbb commit b5b81db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs_generator.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import hashlib
import os
import zlib


def make_doc(dst, source, compression_str="Z_BEST_COMPRESSION"):
os.makedirs(os.path.basename(dst), exist_ok=True)
g = open(dst, "w", encoding="utf-8")
buf = ""
docbegin = ""
Expand Down

0 comments on commit b5b81db

Please sign in to comment.