Skip to content

Commit

Permalink
Fix Ram Rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLastBreath committed Dec 2, 2024
1 parent 4a985d3 commit 56daaff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/configuration/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from tkinter import messagebox
import configparser

Version = "manager-2.1.1"
Version = "manager-2.1.2"
repo_url_raw = 'https://github.com/MaxLastBreath/TOTK-mods'
repo_url = 'https://api.github.com/repos/MaxLastBreath/TOTK-mods'
localconfig = "TOTKOptimizer.ini"
Expand Down
3 changes: 2 additions & 1 deletion src/modules/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import psutil
import GPUtil
import os
import math
from modules.scaling import *
from modules.macos import macos_path
import subprocess
Expand Down Expand Up @@ -35,7 +36,7 @@ def start_logger():
# Print Memory
try:
memory_info = psutil.virtual_memory()
total_memory = memory_info.total/1024/1024
total_memory = round(memory_info.total / (1024 * 1024 * 1024))
memory_used = memory_info.percent
except Exception as e:
log.warning(f"The System Memory was not detected, nothing to be concerned about. {e}")
Expand Down

0 comments on commit 56daaff

Please sign in to comment.