Add exception that hopefully never raises

pull/106/head v2.1.6
Marco Hinz 5 years ago
parent a012542004
commit bf7477b684
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

@ -397,8 +397,10 @@ def main(argv=sys.argv, env=os.environ):
show_message(address, nvr.address)
if options.nostart:
sys.exit(1)
else:
nvr.start_new_process()
nvr.start_new_process()
if not nvr.server:
raise RuntimeError('This should never happen. Please raise an issue at https://github.com/mhinz/neovim-remote/issues')
if options.d:
nvr.diffmode = True

@ -19,7 +19,7 @@ setup(
'console_scripts': ['nvr = nvr.nvr:main']
},
packages = ['nvr'],
version = '2.1.5',
version = '2.1.6',
license = 'MIT',
keywords = 'neovim nvim nvr remote helper',
classifiers = [

Loading…
Cancel
Save