Commit 6ad30ca8 authored by lucas.tieman's avatar lucas.tieman
Browse files

make not break on ds_store files

parent ba242fe7
......@@ -63,7 +63,7 @@ def encrypt(file_path,new_path=None):
if not new_path:
new_path = file_path
for file in os.listdir(file_path):
if file == '.keep':
if file in ['.keep', '.DS_Store']:
continue
try:
check = [
......@@ -91,7 +91,7 @@ def decrypt(file_path, new_path=None):
if not new_path:
new_path = file_path
for file in os.listdir(file_path):
if file == '.keep':
if file == ['.keep', '.DS_Store']:
continue
try:
check = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment