Skip to content

Conversation

lavesh-37
Copy link

try:
os.mkdir(directory)
except OSError as e:
logging.error(f"Failed to create directory: {e}")
sys.exit(1)

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

Successfully merging this pull request may close these issues.

1 participant