Commit cd67b770 authored by fimap.dev@gmail.com's avatar fimap.dev@gmail.com

Fixed a little bug.

parent 21de1c14
......@@ -472,7 +472,7 @@ class codeinjector(baseClass):
hostname = url[url.find("//") +2:]
if ("/" in hostname):
hostname = hostname[:hostname.find("/")]
if (hostname.startsWith("www.")):
if (hostname.startswith("www.")):
hostname = hostname[4:]
self._log("Trying to connect to ssh://'%s'"%(hostname), self.LOG_DEBUG)
self._log("SSH-Username: %s"%(kickstarter), self.LOG_DEVEL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment