Read was defaulting to False

This commit is contained in:
Patrick McDonagh
2016-04-15 17:35:14 -05:00
parent 61e0c4a5f5
commit 6fdc513386
2 changed files with 4 additions and 4 deletions

View File

@@ -73,8 +73,8 @@ def main():
configProperties['save_all'] = "test"
print("FYI, value for save_all is {0}".format(configProperties['save_all']))
except KeyError:
print("FYI, there is no save_all value stored in the database, using False")
configProperties['save_all'] = False
print("FYI, there is no save_all value stored in the database, using 'test'")
configProperties['save_all'] = 'test'

View File

@@ -68,8 +68,8 @@ def main():
configProperties['save_all'] = "test"
print("FYI, value for save_all is {0}".format(configProperties['save_all']))'save_all']))
except KeyError:
print("FYI, there is no save_all value stored in the database, using False")
configProperties['save_all'] = False
print("FYI, there is no save_all value stored in the database, using 'test'")
configProperties['save_all'] = 'test'