yatima1460 / Drill

Search files without indexing, but fast crawling
https://drill.software/
GNU General Public License v2.0
269 stars 21 forks source link

global keyword is unnecesary #5

Closed famellad closed 5 years ago

famellad commented 5 years ago

psutilcheck is essentially read only during the execution of the main program, and on my system it throws a nice "SyntaxError: name 'psutilcheck' is used prior to global declaration" error when it has the global keyword.

yatima1460 commented 5 years ago

Wait, which Python version are you using? I am even on Debian with 3.5

yatima1460 commented 5 years ago

psutil is now needed to grab the mount points, so no check needed, thanks