Added gmail.json file to excluded file, added file also to excluded file during update

This commit is contained in:
Ozzie Isaacs 2021-03-28 15:00:50 +02:00
parent 7cc8d1e693
commit 3c5bd3a605
2 changed files with 3 additions and 2 deletions

2
.gitignore vendored
View File

@ -30,4 +30,4 @@ vendor/
settings.yaml
gdrive_credentials
client_secrets.json
gmail.json

View File

@ -227,7 +227,8 @@ class Updater(threading.Thread):
os.sep + 'vendor', os.sep + 'calibre-web.log', os.sep + '.git', os.sep + 'client_secrets.json',
os.sep + 'gdrive_credentials', os.sep + 'settings.yaml', os.sep + 'venv', os.sep + 'virtualenv',
os.sep + 'access.log', os.sep + 'access.log1', os.sep + 'access.log2',
os.sep + '.calibre-web.log.swp', os.sep + '_sqlite3.so', os.sep + 'cps' + os.sep + '.HOMEDIR'
os.sep + '.calibre-web.log.swp', os.sep + '_sqlite3.so', os.sep + 'cps' + os.sep + '.HOMEDIR',
os.sep + 'gmail.json'
)
additional_path = self.is_venv()
if additional_path: