I guess is not an optimal solution, but things like this are the only way that I found so far to make it work (don't mind the indentation). Quickly tested and works on Vercel too.
It seems related to how open behaves in Flask (perhaps the version I do have?). I am really curious about what can be the cause.
Ah ok that explains it. So Solus is a version of Linux? The Flask documentation only mentions Mac and Windows in the documentation as far as I can see. However you seem to have figured out how to get it working. I am sure you will figure it out as you have experience working with Solus which I have never used before.
Thank for the reply.
I use
nvim
on Solus.I did not find anything really useful in the documentation about this case, probably because it is the first time I meet Flask :)
As a temporary solution I got this:
I guess is not an optimal solution, but things like this are the only way that I found so far to make it work (don't mind the indentation). Quickly tested and works on Vercel too.
It seems related to how
open
behaves in Flask (perhaps the version I do have?). I am really curious about what can be the cause.Ah ok that explains it. So Solus is a version of Linux? The Flask documentation only mentions Mac and Windows in the documentation as far as I can see. However you seem to have figured out how to get it working. I am sure you will figure it out as you have experience working with Solus which I have never used before.
Yes, it is a Linux flavor. Thank you again for the tutorial :)