Fix checks with os.path.realpath() for systems with symlinked paths #1051
I'm working on getting a recent version of Octoprint (1.2.6) packaged for Synology NASes in SynoCommunity/spksrc. I've gotten it to work after some tinkering, but it needed two trivial fixes to work with Synology's habit of putting packages in a symlinked location. Specifically, two checks using
I've not filed a bug report for this yet, let me know if I should. I've tested the fix on Synology only but I think the fix is so trivial that it won't will negatively impact other platforms.