Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Mar 11, 2024
1 parent 4929b26 commit 413b6f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ async def fetch_class_mappings(css_translations_path : str, loader : Loader):
with open(css_translations_path, "w", encoding="utf-8") as fp:
fp.write(await response.text())

SUCCESSFUL_FETCH_THIS_RUN = True
Log(f"Fetched css translations from server")
initialize_class_mappings()
asyncio.get_running_loop().create_task(loader.reset(silent=True))
SUCCESSFUL_FETCH_THIS_RUN = True
Log(f"Fetched css translations from server")
initialize_class_mappings()
asyncio.get_running_loop().create_task(loader.reset(silent=True))

except Exception as ex:
Log(f"Failed to fetch css translations from server: {str(ex)}")
Expand Down

0 comments on commit 413b6f4

Please sign in to comment.