Skip to content

Commit e34e58a

Browse files
committed
Bypass validity check to troubleshoot
1 parent 996ad35 commit e34e58a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

varken/iniparser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def url_check(self, url=None, include_port=True, section=None):
107107

108108
valid = match(regex, url_check) is not None
109109
if not valid:
110+
return url_check
110111
if inc_port:
111112
self.logger.error('%s is invalid in module [%s]! URL must host/IP and '
112113
'port if not 80 or 443. ie. localhost:8080',

0 commit comments

Comments
 (0)