Commit 412620e5 authored by Michal Čihař's avatar Michal Čihař

Fix variable names after refactoring

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5270dade
......@@ -671,11 +671,11 @@ class FileFormat(object):
Adds new language file.
'''
# Create directory for a translation
dirname = os.path.dirname(fullname)
dirname = os.path.dirname(filename)
if not os.path.exists(dirname):
os.makedirs(dirname)
self.create_new_file(filename, code, base)
cls.create_new_file(filename, code, base)
@classmethod
def create_new_file(cls, filename, code, base):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment