Connecting thermostat to two hot wires
You should be fine connecting it either way around
Since this is a mechanical thermostat, it should work just fine wired in either way around; of course, if it doesn't work, you can try swapping the wires so they are connected to the other terminal.