Skip to content

Commit c549251

Browse files
committed
flake8linter changes
1 parent 7b6237f commit c549251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

file_unlatcher/AlFileUnlatcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ def find():
7676
dFile.close()
7777
uniqlines = set(open(fileName).readlines())
7878
bar = open(fileName, 'w+').writelines(set(uniqlines))
79+
if bar:
80+
bar.close()
7981
for file in output:
8082
filename = os.path.basename(file)
8183
if filename == inputFile and file not in filesList:

0 commit comments

Comments
 (0)