Show More
@@ -306,7 +306,8 b' class Client(HasTraits):' | |||||
306 | assert url_or_file is not None, "I can't find enough information to connect to a hub!"\ |
|
306 | assert url_or_file is not None, "I can't find enough information to connect to a hub!"\ | |
307 | " Please specify at least one of url_or_file or profile." |
|
307 | " Please specify at least one of url_or_file or profile." | |
308 |
|
308 | |||
309 |
|
|
309 | if not util.is_url(url_or_file): | |
|
310 | # it's not a url, try for a file | |||
310 | if not os.path.exists(url_or_file): |
|
311 | if not os.path.exists(url_or_file): | |
311 | if self._cd: |
|
312 | if self._cd: | |
312 | url_or_file = os.path.join(self._cd.security_dir, url_or_file) |
|
313 | url_or_file = os.path.join(self._cd.security_dir, url_or_file) |
General Comments 0
You need to be logged in to leave comments.
Login now