Skip to content

Commit

Permalink
Fix google service file index
Browse files Browse the repository at this point in the history
  • Loading branch information
Psychokiller1888 committed Nov 21, 2021
1 parent 2586ea4 commit 59ba52c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions AliceCli/MainMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
#
# Last modified: 2021.03.07 at 10:56:35 CET
# Last modified by: Psycho
import click
import re
import subprocess

import click
import sys
from PyInquirer import Separator, prompt

Expand All @@ -30,7 +29,8 @@
from AliceCli.utils.commons import connect, discover
from AliceCli.utils.utils import aliceLogs, changeHostname, changePassword, reboot, soundTest, systemLogs, updateSystem, upgradeSystem

VERSION = Version.fromString('0.2.1')

VERSION = Version.fromString('0.2.2')
CHECKED = False

@click.command(name='main_menu')
Expand Down
2 changes: 1 addition & 1 deletion AliceCli/install/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def installAlice(ctx: click.Context, force: bool):
confs['enableDataStoring'] = answers.get('enableDataStoring', True)
confs['skillAutoUpdate'] = answers.get('skillAutoUpdate', True)

if Path(answers.get('googleServiceFile', '')).exists():
if 'googleServiceFile' in answers and Path(answers.get('googleServiceFile')).exists():
confs['googleServiceFile'] = Path(answers['googleServiceFile']).read_text()

if answers['advancedConfigs']:
Expand Down

0 comments on commit 59ba52c

Please sign in to comment.