Remove usless import and exception variable

This commit is contained in:
VirtuBox
2019-07-29 16:27:33 +02:00
parent 0f4f13f19f
commit 246bc1257b

View File

@@ -1,6 +1,5 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
import sys
import os import os
import glob import glob
import configparser import configparser
@@ -32,7 +31,7 @@ config.read(os.path.expanduser("~")+'/.gitconfig')
try: try:
wo_user = config['user']['name'] wo_user = config['user']['name']
wo_email = config['user']['email'] wo_email = config['user']['email']
except Exception as e: except Exception:
print("WordOps (wo) require an username & and an email " print("WordOps (wo) require an username & and an email "
"address to configure Git (used to save server configurations)") "address to configure Git (used to save server configurations)")
print("Your informations will ONLY be stored locally") print("Your informations will ONLY be stored locally")