Skip to content

Commit

Permalink
Fix Python syntax error AGAIN in start_rpc_server_to_tracker.py (#4685)
Browse files Browse the repository at this point in the history
#4682 Tried to fix a Python syntax error but did not go far enough because there are _three sets_ of embedded quotes.
This PR solves the syntax error by using Python's triple quoted strings on the outside and then double quotes in the middle and then single quotes on the inside.
  • Loading branch information
cclauss authored and tqchen committed Jan 11, 2020
1 parent 56416ed commit b0b914c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/vta_rpc/start_rpc_server_to_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
PROJROOT="$( cd '$( dirname "${BASH_SOURCE[0]}" )/../../' && pwd )"
PROJROOT="""$( cd "$( dirname '${BASH_SOURCE[0]}' )/../../" && pwd )"""

# Derive target specified by vta_config.json
VTA_CONFIG=${PROJROOT}/vta/config/vta_config.py
Expand Down

0 comments on commit b0b914c

Please sign in to comment.