Skip to content

Commit

Permalink
Refactor CLI.py: Remove unused imports and clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Oct 21, 2024
1 parent c594379 commit 4ddd6c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

YASB_VERSION = BUILD_VERSION
YASB_CLI_VERSION = "1.0.1"
# Check if exe file exists

OS_STARTUP_FOLDER = os.path.join(os.environ['APPDATA'], r'Microsoft\Windows\Start Menu\Programs\Startup')
INSTALLATION_PATH = os.path.abspath(os.path.join(__file__, "../../.."))
EXE_PATH = os.path.join(INSTALLATION_PATH, 'yasb.exe')
Expand Down Expand Up @@ -274,10 +274,6 @@ def delete_task():
except Exception:
print(f"Failed to delete task YASB or task does not exist.")

import re

import re

class CLIUpdateHandler():
def update_yasb(YASB_VERSION):
# Fetch the latest tag from the GitHub API
Expand Down

0 comments on commit 4ddd6c5

Please sign in to comment.