diff --git a/src/Config.py b/src/Config.py index 185ce92a..34a31a4f 100644 --- a/src/Config.py +++ b/src/Config.py @@ -290,8 +290,9 @@ class Config(object): self.parseCommandline(argv, silent) # Parse argv self.setAttributes() - if self.fileserver_ip != "*" and self.fileserver_ip not in self.ip_local: - self.ip_local.append(self.fileserver_ip) + if not silent: + if self.fileserver_ip != "*" and self.fileserver_ip not in self.ip_local: + self.ip_local.append(self.fileserver_ip) if silent: # Restore original functions if self.parser.exited and self.action == "main": # Argument parsing halted, don't start ZeroNet with main action