Commit c89b62a7 authored by Devaev Maxim's avatar Devaev Maxim

Seek(0) in setup.py file-hooks

parent 30d9e753
......@@ -51,6 +51,7 @@ class SettingsdInstall(install) :
const_py_file_data = const_py_file_data.replace(replaces_list_item[0], replaces_list_item[1])
const_py_file.truncate()
const_py_file.seek(0)
const_py_file.write(const_py_file_data)
try :
......
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