MaxLastBreath / TOTK-mods

Other
584 stars 19 forks source link

Error with decimal aspect ratios #108

Closed Fruithapje21 closed 1 month ago

Fruithapje21 commented 3 months ago

Error happens when trying to apply aspect ratios that are not in the format 'int x int'

Traceback (most recent call last): File "threading.py", line 1038, in _bootstrap_inner File "threading.py", line 975, in run File "form.py", line 807, in run_tasks File "form.py", line 955, in Create_Mod_Patch ValueError: invalid literal for int() with base 10: '21.5'

Consider converting str to float instead of int

MaxLastBreath commented 3 months ago

Yeah i will fix it later today

w3bsite commented 1 month ago

in the new version I get this error:

Exception in thread Thread-3 (run_tasks):
Traceback (most recent call last):
  File "threading.py", line 1038, in _bootstrap_inner
  File "threading.py", line 975, in run
  File "form.py", line 803, in run_tasks
  File "form.py", line 949, in Create_Mod_Patch
KeyError: 'aspect ratio'

I'm curious to know if this is a spelling error or something else?

MaxLastBreath commented 1 month ago

Should be fixed @w3bsite