Reorder methods
This commit is contained in:
parent
8d78f38d99
commit
ad55d4011b
@ -53,10 +53,6 @@ class Normalisename:
|
||||
self.operation(path, normalpath) # pylint: disable=not-callable
|
||||
return normalpath
|
||||
|
||||
def check_normal(self, path):
|
||||
filename = basename(path)
|
||||
return filename == self.normalname(filename)
|
||||
|
||||
def normalname(self, filename):
|
||||
return unidecode(
|
||||
''.join(
|
||||
@ -65,3 +61,7 @@ class Normalisename:
|
||||
or ch in self.whitelist
|
||||
)
|
||||
)
|
||||
|
||||
def check_normal(self, path):
|
||||
filename = basename(path)
|
||||
return filename == self.normalname(filename)
|
||||
|
Loading…
Reference in New Issue
Block a user