aboutsummaryrefslogtreecommitdiff
path: root/rumba/model.py
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-09-13 11:26:53 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-09-13 17:18:56 +0200
commit440ab00aa57dd8c7c0076d93011814b7fb25ec76 (patch)
tree3f65d7b4866c4cc6de68929d254fd04c8adb52e7 /rumba/model.py
parente7a0deed26ec4015e783742da0796a77c589ce55 (diff)
downloadrumba-440ab00aa57dd8c7c0076d93011814b7fb25ec76.tar.gz
rumba-440ab00aa57dd8c7c0076d93011814b7fb25ec76.zip
build: Add continuous integration
This adds CI to Rumba.
Diffstat (limited to 'rumba/model.py')
-rw-r--r--rumba/model.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rumba/model.py b/rumba/model.py
index 6303799..06d45ec 100644
--- a/rumba/model.py
+++ b/rumba/model.py
@@ -55,6 +55,12 @@ except OSError:
# Already there, nothing to do
pass
+cache_parent_dir = os.path.join(os.path.expanduser("~"), '.cache/')
+try:
+ os.mkdir(cache_parent_dir)
+except OSError:
+ # Already there, nothing to do
+ pass
cache_dir = os.path.join(os.path.expanduser("~"), '.cache/rumba/')
try:
os.mkdir(cache_dir)