We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89c01c0 commit 2921045Copy full SHA for 2921045
116/files.py
@@ -7,4 +7,4 @@
7
def get_files(dirname, size_in_kb):
8
"""Return files in dirname that are >= size_in_kb"""
9
glob_pattern = os.path.join(dirname, '*')
10
- return [file for file in glob(dirname+"*") if os.path.getsize(file) >= ONE_KB*size_in_kb]
+ return [file for file in glob(glob_pattern) if os.path.getsize(file) >= ONE_KB*size_in_kb]
0 commit comments