Change os.name to common.PLATFORM

This commit is contained in:
JonnyWong16 2020-04-25 12:20:09 -07:00
parent 9ee2c1f7a6
commit e6befab6bb
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 5 additions and 5 deletions

View file

@ -448,7 +448,7 @@
</div>
<p class="help-block">Note: Web interface changes require a restart.</p>
% if os.name == 'nt':
% if common.PLATFORM == 'Windows':
<div class="checkbox">
<label>
<input type="checkbox" class="http-settings" name="win_sys_tray" id="win_sys_tray" value="1" ${config['win_sys_tray']}> Enable System Tray Icon