Machine imports withou try except

Python 2 is not supported now. The import is the same in try and except.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 09:00:30 +02:00
parent 46c677151a
commit 1618505d3b

View File

@ -13,9 +13,6 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
try:
from urllib.parse import urlencode
except ImportError: # python3
from urllib.parse import urlencode
import sys
import time