Commit f6177884 authored by Taddeus Kroes's avatar Taddeus Kroes

Filenames now preserve capital letters.

parent d24785f9
...@@ -218,7 +218,7 @@ class Model(object): ...@@ -218,7 +218,7 @@ class Model(object):
return php_block(php) if add_php_block else php return php_block(php) if add_php_block else php
def filename(self): def filename(self):
return self.classname().lower().replace('_', '') + '.php' return self.classname().replace('_', '') + '.php'
def create_path_from_dir(self, dirname): def create_path_from_dir(self, dirname):
return os.path.dirname(dirname + '//') + '/' + self.filename() return os.path.dirname(dirname + '//') + '/' + self.filename()
......
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