Skip to content

Commit a0832f4

Browse files
committed
Fixed typos with the naming of the config folder and in teh write_config.py file, changes the file path so that it wont throw an error
1 parent e20f127 commit a0832f4

9 files changed

+17
-17
lines changed

samples/configs/write_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
config.set('graph_api', 'redirect_uri', '')
1313

1414
# Write the file.
15-
with open(file='samples/configs/config.ini', mode='w+') as f:
15+
with open(file='./config.ini', mode='w+') as f:
1616
config.write(f)

samples/use_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
config = ConfigParser()
1818

1919
# Read the file.
20-
config.read('config/config.ini')
20+
config.read('configs/config.ini')
2121

2222
# Get the specified credentials.
2323
client_id = config.get('graph_api', 'client_id')
@@ -30,7 +30,7 @@
3030
client_secret=client_secret,
3131
redirect_uri=redirect_uri,
3232
scope=scopes,
33-
credentials='config/ms_graph_state.jsonc'
33+
credentials='configs/ms_graph_state.jsonc'
3434
)
3535

3636
# Login to the Client.

samples/use_drive_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
config = ConfigParser()
1818

1919
# Read the file.
20-
config.read('config/config.ini')
20+
config.read('configs/config.ini')
2121

2222
# Get the specified credentials.
2323
client_id = config.get('graph_api', 'client_id')
@@ -30,7 +30,7 @@
3030
client_secret=client_secret,
3131
redirect_uri=redirect_uri,
3232
scope=scopes,
33-
credentials='config/ms_graph_state.jsonc'
33+
credentials='configs/ms_graph_state.jsonc'
3434
)
3535

3636
# Login to the Client.

samples/use_group_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
config = ConfigParser()
2121

2222
# Read the file.
23-
config.read('config/config.ini')
23+
config.read('configs/config.ini')
2424

2525
# Get the specified credentials.
2626
client_id = config.get('graph_api', 'client_id')
@@ -33,7 +33,7 @@
3333
client_secret=client_secret,
3434
redirect_uri=redirect_uri,
3535
scope=scopes,
36-
credentials='config/ms_graph_state.jsonc'
36+
credentials='configs/ms_graph_state.jsonc'
3737
)
3838

3939
# Login to the Client.

samples/use_mail_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
config = ConfigParser()
3535

3636
# Read the file.
37-
config.read('config/config.ini')
37+
config.read('configs/config.ini')
3838

3939
# Get the specified credentials.
4040
client_id = config.get('graph_api', 'client_id')
@@ -47,7 +47,7 @@
4747
client_secret=client_secret,
4848
redirect_uri=redirect_uri,
4949
scope=scopes,
50-
credentials='config/ms_graph_state.jsonc'
50+
credentials='configs/ms_graph_state.jsonc'
5151
)
5252

5353
# Login to the Client.

samples/use_notebook_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
config = ConfigParser()
3434

3535
# Read the file.
36-
config.read('config/config.ini')
36+
config.read('configs/config.ini')
3737

3838
# Get the specified credentials.
3939
client_id = config.get('graph_api', 'client_id')
@@ -46,7 +46,7 @@
4646
client_secret=client_secret,
4747
redirect_uri=redirect_uri,
4848
scope=scopes,
49-
credentials='config/ms_graph_state.jsonc'
49+
credentials='configs/ms_graph_state.jsonc'
5050
)
5151

5252
# Login to the Client.

samples/use_personal_contacts_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
config = ConfigParser()
2222

2323
# Read the file.
24-
config.read('config/config.ini')
24+
config.read('configs/config.ini')
2525

2626
# Get the specified credentials.
2727
client_id = config.get('graph_api', 'client_id')
@@ -34,7 +34,7 @@
3434
client_secret=client_secret,
3535
redirect_uri=redirect_uri,
3636
scope=scopes,
37-
credentials='config/ms_graph_state.jsonc'
37+
credentials='configs/ms_graph_state.jsonc'
3838
)
3939

4040
# Login to the Client.

samples/use_search_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
config = ConfigParser()
2121

2222
# Read the file.
23-
config.read('config/config.ini')
23+
config.read('configs/config.ini')
2424

2525
# Get the specified credentials.
2626
client_id = config.get('graph_api', 'client_id')
@@ -33,7 +33,7 @@
3333
client_secret=client_secret,
3434
redirect_uri=redirect_uri,
3535
scope=scopes,
36-
credentials='config/ms_graph_state.jsonc'
36+
credentials='configs/ms_graph_state.jsonc'
3737
)
3838

3939
# Login to the Client.

samples/user_drive_items_services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
config = ConfigParser()
1818

1919
# Read the file.
20-
config.read('config/config.ini')
20+
config.read('configs/config.ini')
2121

2222
# Get the specified credentials.
2323
client_id = config.get('graph_api', 'client_id')
@@ -30,7 +30,7 @@
3030
client_secret=client_secret,
3131
redirect_uri=redirect_uri,
3232
scope=scopes,
33-
credentials='config/ms_graph_state.jsonc'
33+
credentials='configs/ms_graph_state.jsonc'
3434
)
3535

3636
# Login to the Client.

0 commit comments

Comments
 (0)