We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f447c commit b74de19Copy full SHA for b74de19
1 file changed
lib/utils/purge.py
@@ -44,7 +44,7 @@ def purge(directory):
44
for filepath in filepaths:
45
try:
46
filesize = os.path.getsize(filepath)
47
- with open(filepath, 'w+b') as f:
+ with open(filepath, "w+b") as f:
48
f.write("".join(chr(random.randint(0, 255)) for _ in xrange(filesize)))
49
except:
50
pass
0 commit comments