fixing in Input, Configure, OptParser objects
[findit] / src / optparser.py
index beb2215..e547b89 100644 (file)
@@ -20,8 +20,8 @@ class OptParser(object):
         # Проверяем полученные параметры
 #        if not self.options.dir or not self.options.cnt:
 #            parser.error("options --directory or --count not present")
-        if not os.path.isdir(self.options.dir):
-            parser.error(self.options.dir, "- It`s not directory")
+#        if not os.path.isdir(self.options.dir):
+#            parser.error(self.options.dir, "- It`s not directory")
         return self.options.dir, self.options.cnt
 
     def __init__(self):