Skip to content

Commit

Permalink
Removed Subdomain Skipping Error
Browse files Browse the repository at this point in the history
  • Loading branch information
hash3liZer committed Feb 23, 2019
1 parent a0e9e8b commit 95103f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subrake.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def handler(self, _subdomain, _c1, _c2):
self.library[_subdomain]["misc"] = { 'ports': '', 'cname': '' }
self.porter( _subdomain )
_cn = self.cnamer( _subdomain )
if _cn == self.d_cn:
if (self.d_cn) and (_cn == self.d_cn):
del self.library[ _subdomain ]
else:
self.push( _subdomain, _c1, _c2 )
Expand Down

0 comments on commit 95103f6

Please sign in to comment.