DasIch  committed 13d7882

Use the current working directory if no path is passed to the script

  • Participants
  • Parent commits 9225ace

Comments (0)

Files changed (1)


     parser.add_option("-d", "--debug", default=False, action="store_true")
     options, args = parser.parse_args(args)
     if not args:
-        parser.error("pass one or more directory paths to the script")
-        return False
+        args.append(os.getcwd())
     # i played around with the number of process a bit and 6 seems to be
     # optimal for me
     p = Pool(6)