Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Fixed no arguments being passed throwing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed May 19, 2011
1 parent 6ada6b6 commit c035c97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion garmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ def main():
help="File name with URLS to test, Currently not available")

(options, args) = parser.parse_args()

if len(args) == 0:
parser.error("Please supply an argument")

garmr = Garmr(options.aut)
garmr.trace_checks()
garmr.xframe_checks()
Expand Down

0 comments on commit c035c97

Please sign in to comment.