Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Refactor lot of shit
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuntlover-TM authored Jan 28, 2023
1 parent 2649135 commit 4338e04
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bf_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,16 @@
if not os.path.exists("global_funcs.py"):
with open("global_funcs.py", "x") as globf: pass

with open("global_funcs.py" "wb") as globf:
with open("global_funcs.py", "wb") as globf:
globf.write(requests.get(update_file_lines[3]).content)

with open("bf_goals.py", "x") as goalsf: pass

with open("bf_goals.py", "wb") as goalsf:
goalsf.write(requests.get(update_file_lines[2]).content)

import global_funcs as g
from bf_goals import GoalSpeed, GoalNosepos, GoalHeight, GoalPoint


update = g.update()
Expand Down

0 comments on commit 4338e04

Please sign in to comment.