Error with number separators
Hi there, I'm getting an error when pasting ore content... it seems to be related to expecting an integer and getting a string.
Traceback (most recent call last):
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/allianceauth/authentication/decorators.py", line 35, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/allianceserver/venv/auth/lib/python3.8/site-packages/buybacks/views/programs.py", line 52, in program_calculate
quantity = int(
Exception Type: ValueError at /buybacks/program/1/calculate
Exception Value: invalid literal for int() with base 10: '56,473'
Edited by Pavan Kumar Sunkara