Skip to content

Instantly share code, notes, and snippets.

@dundee
Created May 5, 2015 10:46
Show Gist options
  • Save dundee/26e3ea55f83899ec26b4 to your computer and use it in GitHub Desktop.
Save dundee/26e3ea55f83899ec26b4 to your computer and use it in GitHub Desktop.
My fail
log_file = os.path.join(
log_dir,
'deadlocks'
'{}.log'.format(datetime.datetime.now().strftime('%Y-%m-%d_%H-%M-%S'))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment