Skip to content

Commit

Permalink
Use makedirs
Browse files Browse the repository at this point in the history
  • Loading branch information
angrave committed Jan 25, 2024
1 parent 6bf1e76 commit be7c661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PythonRpcServer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def getRandomString(n):


def getTmpFile(subdir="pythonrpc"):
os.mkdir(os.path.join(DATA_DIRECTORY, subdir), exist_ok=True)
os.makedirs(os.path.join(DATA_DIRECTORY, subdir), exist_ok=True)
while True:
# A key space of 34^12 should be sufficient for us...
filenameSize = 12
Expand Down

0 comments on commit be7c661

Please sign in to comment.