Skip to content

Commit cb254ff

Browse files
committed
bug fix: cli
1 parent 3858416 commit cb254ff

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

cli/cliParser.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,4 @@ def prepareArguments(self):
5454
parser.add_argument('--userName', help='Email Username.')
5555
parser.add_argument('--password', help='Email password.')
5656

57-
## Get CurrentVersion
58-
with open('/usr/local/CyberCP/version.txt') as file:
59-
file_contents = file.read()
60-
version = re.search('\d.\d', file_contents)
61-
version = version.group()
62-
build = file_contents[-2:]
63-
build = build[0:1]
64-
currentversion = version + '.' + build
65-
parser.add_argument('--version', action='version', version=currentversion)
66-
parser.parse_args(['--version'])
67-
6857
return parser.parse_args()

0 commit comments

Comments
 (0)