diff --git a/src/metadata.py b/src/metadata.py index 4f516b61..ff09aeec 100755 --- a/src/metadata.py +++ b/src/metadata.py @@ -133,7 +133,7 @@ class Metadata(): @staticmethod - def getfitting(fitting, requirement, file): + def getFitting(fitting, requirement, file): ''' Get ponies that fit the terminal diff --git a/src/ponysay.py b/src/ponysay.py index 6a91d539..1fd9f671 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -513,11 +513,11 @@ class Ponysay(): if os.path.exists(ponydir + 'widths'): fitw = set() with open(ponydir + 'widths', 'rb') as file: - Metadata.getfitting(fitw, termw, file) + Metadata.getFitting(fitw, termw, file) if os.path.exists(ponydir + ('onlyheights' if self.ponyonly else 'heights')): fith = set() with open(ponydir + ('onlyheights' if self.ponyonly else 'heights'), 'rb') as file: - Metadata.getfitting(fith, termh, file) + Metadata.getFitting(fith, termh, file) for ponyfile in oldponies.values(): if ponyfile.startswith(ponydir): pony = ponyfile[len(ponydir) : -5]