summaryrefslogtreecommitdiff
path: root/tools/yelp-check.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yelp-check.py')
-rw-r--r--tools/yelp-check.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/yelp-check.py b/tools/yelp-check.py
index 5a5afdf..46322e1 100644
--- a/tools/yelp-check.py
+++ b/tools/yelp-check.py
@@ -118,6 +118,8 @@ class Checker:
def iter_files(self, sitedir=None):
issite = self.options.get('-s', False)
+ if len(self.fileargs) == 0:
+ self.fileargs.append('.')
for filearg in self.fileargs:
if os.path.isdir(filearg):
if issite: