Previously, cheat would crash if the DEFAULT_CHEAT_DIR was not set. This
should resolve that issue by creating the directory if it does not
exist.
This commit is contained in:
Chris Lane
2014-04-27 00:28:28 -04:00
parent f46698b656
commit bb6f1018a6
3 changed files with 23 additions and 3 deletions

View File

@ -38,7 +38,7 @@ from docopt import docopt
if __name__ == '__main__':
# parse the command-line options
options = docopt(__doc__, version='cheat 2.0.0')
options = docopt(__doc__, version='cheat 2.0.1')
# list directories
if options['--directories']: