Skip to content

Commit

Permalink
Fixing buglet
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarni R. Einarsson committed May 2, 2011
1 parent 0b3c61e commit a32ddb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pagekite.py
Original file line number Diff line number Diff line change
Expand Up @@ -3877,8 +3877,8 @@ def ConfigSecret(self, new=False):
# secret and use the remote-control APIs as long as they can read the
# *entire* config (which contains all the sensitive bits anyway).
#
if self.ui_httpd and self.ui_httpd.secret and not new:
return self.ui_httpd.secret
if self.ui_httpd and self.ui_httpd.httpd and not new:
return self.ui_httpd.httpd.secret
else:
return sha1hex('\n'.join(self.GenerateConfig()))

Expand Down

0 comments on commit a32ddb6

Please sign in to comment.