projects-jenz/simulate_ze_server/python/move_text_to_simulate_server.py

11 lines
360 B
Python

#!/usr/bin/python3
def main():
with open("/home/gameservers/css_ze/cstrike/addons/sourcemod/logs/simulate.txt", "r") as file:
lines = [line.rstrip() for line in file]
with open('/home/gameservers/css_simulate_ze/cstrike/addons/sourcemod/logs/simulate.txt', 'w') as fp:
fp.write('\n'.join(lines))
if __name__ == '__main__':
main()