Skip to content

Commit

Permalink
Update League Connector to use oscr.stobuilds.com (HTTP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraust committed May 27, 2024
1 parent b6e49db commit 17bd70b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion OSCRUI/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def save_combat(self, combat_num: int):
filename = combat.map
if combat.difficulty is not None and combat.difficulty != '':
filename += ' ' + combat.difficulty
filename += f' {combat.start_time.strftime('%Y-%m-%d %H.%M')}.log'
filename += f' {combat.start_time.strftime("%Y-%m-%d %H.%M")}.log'
base_dir = f'{os.path.dirname(self.entry.text())}/{filename}'
if not base_dir:
base_dir = self.app_dir
Expand Down
2 changes: 1 addition & 1 deletion OSCRUI/leagueconnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def __init__(self, address=None):

# TODO: This is a test domain and not for production.
if not address:
self.address = "http://127.0.0.1:8000"
self.address = "http://oscr.stobuilds.com"

self.api_client = OSCR_django_client.api_client.ApiClient()
self.api_client.configuration.host = self.address
Expand Down

0 comments on commit 17bd70b

Please sign in to comment.