Compare commits

...

2 Commits

Author SHA1 Message Date
904781d5c6 enabled removing 2021-08-18 23:28:00 +02:00
3c362ec849 updated for vscode launch 2021-08-18 23:13:25 +02:00
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -149,3 +149,4 @@ dmypy.json
# Cython debug symbols # Cython debug symbols
cython_debug/ cython_debug/
.vscode/launch.json

View File

@ -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):