Skip to content

Commit

Permalink
Update admin_panel_sniffer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MK-Ware authored Jan 23, 2018
1 parent 3f4ebb0 commit 6e75f8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin_panel_sniffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,17 @@ def getRobotsFile(domain):

try:
strict_mode = eval(options.strict.title())
except TypeError:
except:
strict_mode = False

try:
save = eval(options.save.title())
except TypeError:
except:
save = True

try:
verbose = eval(options.verbose.title())
except TypeError:
except:
verbose = True

if not options.page_ext:
Expand All @@ -204,7 +204,7 @@ def getRobotsFile(domain):

try:
robots = eval(options.robots.title())
except TypeError:
except:
robots = False

if robots:
Expand Down

0 comments on commit 6e75f8a

Please sign in to comment.