Skip to content

Commit

Permalink
Trigger automatic updates on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenochxd committed Sep 9, 2024
1 parent a96b6ac commit 91f00a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# Change directory to the main.py dir
os.chdir(os.path.dirname(os.path.abspath(__file__)))

updater.auto_update()

def load_config():
with open('config.yml', 'r') as config_file:
config = yaml.safe_load(config_file)
Expand Down

0 comments on commit 91f00a9

Please sign in to comment.