We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a39338 + 337ade4 commit 28cbf1dCopy full SHA for 28cbf1d
classifier/classifier.py
@@ -47,7 +47,7 @@ def classify_by_date(date_format, output_dir):
47
print("Scanning Files")
48
49
directory = os.getcwd()
50
- files = os.listdir(directory)
+ files = [x for x in os.listdir(directory) if not x.startswith('.')]
51
creation_dates = map(lambda x: (x, arrow.get(os.path.getctime(x))), files)
52
53
for file, creation_date in creation_dates:
0 commit comments