Merge branch 'master' of github.com:CyberDem0n/governor into features/refactoring

This commit is contained in:
Alexander Kukushkin
2015-05-18 14:39:39 +02:00
3 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class Postgresql:
return not os.path.exists(self.data_dir) or os.listdir(self.data_dir) == []
def initialize(self):
if os.system(self._pg_ctl + ' initdb') == 0:
if os.system(self._pg_ctl + ' initdb -o --encoding=UTF8') == 0:
self.write_pg_hba()
return True