mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Remove unneeded .lower()
This commit is contained in:
parent
cc6db2d46a
commit
ce3cb9420b
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ class Downloader:
|
||||||
# Walk the files in the folder until we find our
|
# Walk the files in the folder until we find our
|
||||||
# name - then steal its case and update that path
|
# name - then steal its case and update that path
|
||||||
for f in os.listdir(fldr):
|
for f in os.listdir(fldr):
|
||||||
if f.lower() == name.lower():
|
if f.lower() == name:
|
||||||
# Got it
|
# Got it
|
||||||
new_path = os.path.join(fldr,f)
|
new_path = os.path.join(fldr,f)
|
||||||
sys.modules["__main__"].__file__ = new_path
|
sys.modules["__main__"].__file__ = new_path
|
||||||
|
|
Loading…
Reference in a new issue