Skip to content

Commit

Permalink
Fix "WordPress version: False"
Browse files Browse the repository at this point in the history
  • Loading branch information
atarantini committed Oct 23, 2011
1 parent ee69501 commit 765ff18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wpworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ def __str__(self):
class WpTaskFingerprint(Wp, WpTask):
"""Perform WordPress fingerprint and. If positive, log the results"""
def run(self):
self.logger.info("WordPress version: %s", self.fingerprint())
version = self.fingerprint()
if version:
self.logger.info("WordPress version: %s", self.fingerprint())

server_path = self.find_server_path()
if server_path:
self.logger.info("WordPress path in server: %s", self.find_server_path())
Expand Down

0 comments on commit 765ff18

Please sign in to comment.