From 667d2ccd05cd2a709ca5e3dc4457841ed7fa4b22 Mon Sep 17 00:00:00 2001 From: zevav Date: Wed, 20 Feb 2019 12:39:03 -0500 Subject: [PATCH] fixing bug in helpers.is_path --- tpro/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpro/helpers.py b/tpro/helpers.py index e7d1ad2..75036e3 100644 --- a/tpro/helpers.py +++ b/tpro/helpers.py @@ -40,4 +40,4 @@ def get_punc_after(word): def is_path(string): - return '/' in string and Path(string).exists() + return Path(string).exists()