Remove unneeded .lower()

This commit is contained in:
CorpNewt 2024-08-16 21:24:55 -05:00 committed by GitHub
parent cc6db2d46a
commit ce3cb9420b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ class Downloader:
# Walk the files in the folder until we find our
# name - then steal its case and update that path
for f in os.listdir(fldr):
if f.lower() == name.lower():
if f.lower() == name:
# Got it
new_path = os.path.join(fldr,f)
sys.modules["__main__"].__file__ = new_path