mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-12-12 14:46:42 +01:00
Remove unneeded .lower()
This commit is contained in:
parent
cc6db2d46a
commit
ce3cb9420b
@ -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 New Issue
Block a user