Skip to content

Commit

Permalink
python formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamshriwas committed May 18, 2020
1 parent 3eaff53 commit 311f8aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ts/version.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

"""
This is the current version of TorchServe
"""
import os
from pathlib import Path

version_path=os.path.join(Path(__file__).resolve().parents[1],'version.txt')
version_path = os.path.join(Path(__file__).resolve().parents[1], 'version.txt')
__version__ = open(version_path, 'r').read().strip()

0 comments on commit 311f8aa

Please sign in to comment.