diff options
-rw-r--r-- | subcmds/init.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 83ed2b62..d86c49ae 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -202,11 +202,11 @@ default.xml will be used. | |||
202 | self._SyncManifest(opt) | 202 | self._SyncManifest(opt) |
203 | self._LinkManifest(opt.manifest_name) | 203 | self._LinkManifest(opt.manifest_name) |
204 | 204 | ||
205 | if os.isatty(0) and os.isatty(1) and not opt.mirror: | 205 | if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: |
206 | self._ConfigureUser() | 206 | self._ConfigureUser() |
207 | self._ConfigureColor() | 207 | self._ConfigureColor() |
208 | 208 | ||
209 | if opt.mirror: | 209 | if self.manifest.IsMirror: |
210 | type = 'mirror ' | 210 | type = 'mirror ' |
211 | else: | 211 | else: |
212 | type = '' | 212 | type = '' |