Compare commits
2 Commits
6192f24cef
...
904781d5c6
Author | SHA1 | Date | |
---|---|---|---|
904781d5c6 | |||
3c362ec849 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -149,3 +149,4 @@ dmypy.json
|
|||||||
# Cython debug symbols
|
# Cython debug symbols
|
||||||
cython_debug/
|
cython_debug/
|
||||||
|
|
||||||
|
.vscode/launch.json
|
||||||
|
4
main.py
4
main.py
@ -69,8 +69,8 @@ def process_file(child, daydates, monthdates, quarterdates, yeardates):
|
|||||||
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}", "action": "none"}}')
|
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}", "action": "none"}}')
|
||||||
else:
|
else:
|
||||||
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "to remove"}}')
|
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "to remove"}}')
|
||||||
#os.remove(child)
|
os.remove(child)
|
||||||
#print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "removed"}}')
|
print(f'{{"name": "{child.name}", "filedate": "{filedate}", "keep": "{keep}" , "action": "removed"}}')
|
||||||
|
|
||||||
|
|
||||||
def test_for_keep(filedate, daydates, monthdates, quarterdates, yeardates):
|
def test_for_keep(filedate, daydates, monthdates, quarterdates, yeardates):
|
||||||
|
Loading…
Reference in New Issue
Block a user