Skip to content

Commit

Permalink
login even when not using sales graph
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Aug 14, 2024
1 parent 0fe01a0 commit 42f35e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def main() -> None:
new_files, item, urls = construct_objects()

with requestium.Session(driver=webdriver.Chrome(options=configure_headless_chrome())) as s:
item.login(s, urls)
if os.environ.get("FG_GRAPH_SALES", "FALSE") == "TRUE":
item.login(s, urls)
graph_users(item.get_sales(s, urls))
if os.environ.get("FG_UPLOAD_BUILD", "TRUE") == "TRUE":
channel = ForgeReleaseChannel[os.environ.get("FG_RELEASE_CHANNEL", "LIVE").upper()]
Expand Down

0 comments on commit 42f35e1

Please sign in to comment.