Skip to content

Commit

Permalink
Simplify import in example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
elliot-100 committed Jul 13, 2024
1 parent 7ccda6b commit 72be775
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example_manager_member_counts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pprint
from pathlib import Path

import britishcycling_clubs as bc
from britishcycling_clubs import get_manager_member_counts

CONFIG_FILE = "config.ini"

Expand All @@ -21,7 +21,7 @@
with Path.open(config_filepath, encoding="utf-8") as file:
config.read_file(file)

member_counts = bc.get_manager_member_counts(
member_counts = get_manager_member_counts(
config["club"]["id"],
config["club"]["username"],
config["club"]["password"],
Expand Down
4 changes: 2 additions & 2 deletions example_profile_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pprint
from pathlib import Path

import britishcycling_clubs as bc
from britishcycling_clubs import get_profile_info

CONFIG_FILE = "config.ini"

Expand All @@ -16,5 +16,5 @@
with Path.open(config_filepath, encoding="utf-8") as file:
config.read_file(file)

info = bc.get_profile_info(config["club"]["id"])
info = get_profile_info(config["club"]["id"])
pprint.pprint(info)

0 comments on commit 72be775

Please sign in to comment.