Skip to content

Commit

Permalink
fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Feb 13, 2024
1 parent f875d88 commit ef41d36
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions UXTU4Mac/UXTU4Mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,13 @@ def open_releases():
def main():
cfg = ConfigParser()
cfg.read(CONFIG_PATH)
try:
if cfg.get('User', 'skipcfu', fallback = '0') == '0':
try:
check_updates()
except:
clr_print_logo()
logging.info("No internet connection, failed to fetch update. Try again")
sys.exit()
except:
create_cfg()
if cfg.get('User', 'skipcfu', fallback = '0') == '0':
try:
check_updates()
except:
clr_print_logo()
logging.info("No internet connection, failed to fetch update. Try again")
sys.exit()

check_cfg_integrity()
user_mode = read_cfg()
Expand Down

0 comments on commit ef41d36

Please sign in to comment.