From 6b037a6465a1f61c9bf62ad96e389e84472f4d7e Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Thu, 9 Apr 2020 23:54:26 +0200
Subject: [PATCH] v1.2.0; move settings to sub folder to be compatible with
 docker

---
 .gitignore                                            | 2 +-
 SpotifyBackup.py                                      | 2 +-
 settings-example.json => config/settings-example.json | 0
 version.json                                          | 4 ++--
 4 files changed, 4 insertions(+), 4 deletions(-)
 rename settings-example.json => config/settings-example.json (100%)

diff --git a/.gitignore b/.gitignore
index f15fc8c..9298b99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 exports/
-settings.json
\ No newline at end of file
+config/settings.json
\ No newline at end of file
diff --git a/SpotifyBackup.py b/SpotifyBackup.py
index 79470d5..4332adb 100644
--- a/SpotifyBackup.py
+++ b/SpotifyBackup.py
@@ -122,7 +122,7 @@ class SpotifyBackup:
 
 
 if __name__ == '__main__':
-    with open('settings.json', 'r', encoding='utf-8') as f:
+    with open('config/settings.json', 'r', encoding='utf-8') as f:
         SETTINGS = json.load(f)
 
     spotifyBackup = SpotifyBackup(SETTINGS['spotifyAPI']['clientID'],
diff --git a/settings-example.json b/config/settings-example.json
similarity index 100%
rename from settings-example.json
rename to config/settings-example.json
diff --git a/version.json b/version.json
index e786a6d..7b5491d 100644
--- a/version.json
+++ b/version.json
@@ -1,7 +1,7 @@
 {
     "version": {
-        "name": "v1.1.0",
-        "code": 2,
+        "name": "v1.2.0",
+        "code": 3,
         "date": "09.04.20"
     }
 }
\ No newline at end of file
-- 
GitLab