Skip to content
Snippets Groups Projects
Commit cdfc145e authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

use parameter scandir instead sys.argv[1]

parent 8f6956bf
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ def main(scandir, dry_run): ...@@ -11,7 +11,7 @@ def main(scandir, dry_run):
betas = dict() betas = dict()
for (path, dirnames, filenames) in os.walk(sys.argv[1], followlinks=False): for (path, dirnames, filenames) in os.walk(scandir, followlinks=False):
for f in filenames: for f in filenames:
if f.startswith('.'): continue if f.startswith('.'): continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment