Skip to content

Commit 9019f4a

Browse files
authored
Update to python3 format
Change python2 from file to python3 format
1 parent 98ffe7b commit 9019f4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recyclebin.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ def findRecycled(recycleDir): # Start of the function, list the contents of the
3535
for sid in dirList:
3636
files = os.listdir(recycleDir + sid)
3737
user = sid2user(sid)
38-
print '\n[*] Listing Files for User: ' + str(user)
38+
print ('\n[*] Listing Files for User: ' + str(user))
3939
for file in files:
40-
print '[+] Found File: ' + str(file)
40+
print ('[+] Found File: ' + str(file))
4141

4242
def main():
4343
recycleDir = returnDir()
4444
findRecycled(recycleDir)
4545

4646
if __name__ == '__main__':
47-
main()
47+
main()

0 commit comments

Comments
 (0)