From b2856467f3c09b424fb48baf6dea26ccaf25db7b Mon Sep 17 00:00:00 2001 From: Shou Date: Sat, 26 Mar 2022 00:37:01 +0100 Subject: [PATCH] :"3 --- CHANGELOG.md | 5 +++++ pesterchum.py | 2 ++ version.py | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de71713..9bd1db9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog (This document uses YYYY-MM-DD) +## [v2.2.1] - 2022-03-26 + +### Fixed + - Crash when datadir is missing :"3 + ## [v2.2] - 2022-03-24 ### Added diff --git a/pesterchum.py b/pesterchum.py index 1549728..3070ace 100755 --- a/pesterchum.py +++ b/pesterchum.py @@ -88,6 +88,8 @@ import ostools # plowing on. :o) # ~Lex _datadir = ostools.getDataDir() +if not os.path.isdir(_datadir): + os.makedirs(_datadir) # See, what I've done here is that _datadir is '' if we're not on OSX, so the # concatination is the same as if it wasn't there. # UPDATE 2011-11-28 : diff --git a/version.py b/version.py index 382d62a..15f378c 100644 --- a/version.py +++ b/version.py @@ -1,2 +1,2 @@ -_pcVersion = "Alt. v2.2" -buildVersion = "v2.2" +_pcVersion = "Alt. v2.2.1" +buildVersion = "v2.2.1"