reset the path to appointment.json

This commit is contained in:
2022-03-03 09:29:51 +01:00
parent cfc6b43b88
commit db82f042a0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class DataManager:
batch_size = 20
def __init__(self):
cred = credentials.Certificate("../appointment.json")
cred = credentials.Certificate("appointment.json")
self._app = firebase_admin.initialize_app(cred)
self._db = firestore.client()
+3 -3
View File
@@ -206,6 +206,6 @@ if __name__ == '__main__':
init_logger()
logger = logging.getLogger()
logger.addHandler(logging.StreamHandler(stream=sys.stdout))
read_all_the_phone_number()
# start_listen()
# start_book()
# read_all_the_phone_number()
start_listen()
start_book()