Skip to content

Commit

Permalink
Merge pull request #504 from xscode/main
Browse files Browse the repository at this point in the history
Fix for SSC config page goving 500 error
  • Loading branch information
smart-underworld authored Dec 1, 2024
2 parents 1e3e605 + 07b6f07 commit 352902f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions device/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,14 +443,15 @@ def render_seestars(self):
lon = self.render_text('ss_scope_aim_lon','Aim Long',seestar['scope_aim_lon'],'start up longitude in degrees 0 to 360')
else:
lon = self.render_text('ss_scope_aim_lon','Aim Long',20,'start up longitude in degrees 0 to 360')


c = ""
h = "False"

if 'is_EQ_mode' in seestar:
if self.strToBool(seestar['is_EQ_mode']):
c = "checked"
h = "True"
else:
c = ""
h = "False"


ssHTML += f'''<div id="device_div_{seestar["device_num"]}">
Expand Down

0 comments on commit 352902f

Please sign in to comment.