From fea9092497b0c225f3e46f15da6808e046e615f3 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 7 Jan 2019 22:54:14 +0000 Subject: [PATCH] rename server file no avoid potential name clashes --- server/{server.py => grasp_server.py} | 0 server/setup | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) rename server/{server.py => grasp_server.py} (100%) diff --git a/server/server.py b/server/grasp_server.py similarity index 100% rename from server/server.py rename to server/grasp_server.py diff --git a/server/setup b/server/setup index 91cbbe8..b31ff71 100755 --- a/server/setup +++ b/server/setup @@ -4,8 +4,7 @@ import argparse from pathlib import Path from subprocess import check_call -# TODO rename to grasp_server.py -from server import setup_parser +from grasp_server import setup_parser SYSTEMD_CONFIG = """ [Unit] @@ -31,7 +30,7 @@ def setup(args): out = Path(f'~/.config/systemd/user/{unit_name}').expanduser() print(f"Writing systemd config to {out}:") - server_bin = Path(__file__).parent.joinpath('server.py').absolute() + server_bin = Path(__file__).parent.joinpath('grasp_server.py').absolute() extra_args = f'--port {args.port} --path {args.path}' with out.open('w') as fo: