diff --git a/ctfd.py b/ctfd.py index c0e0c7a..b2330bb 100644 --- a/ctfd.py +++ b/ctfd.py @@ -22,9 +22,9 @@ class CTFdScrape(object): def __init__(self, args): self.auth = dict(name=args.user, password=args.passwd) + self.scheme = args.scheme self.url = self.__parseUrl(args.url) self.worker = args.worker - self.scheme = args.scheme self.override = args.override self.nofile = args.no_download self.basepath = args.path @@ -465,4 +465,4 @@ def main(): parser.error('too few arguments') if __name__ == '__main__': - main() \ No newline at end of file + main()