Skip to content

Commit 3ad441e

Browse files
authored
Update mbed.py
1 parent 1e76144 commit 3ad441e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbed/mbed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ def write(self):
11431143
action("Updating reference \"%s\" -> \"%s\"" % (relpath(cwd_root, self.path) if cwd_root != self.path else self.name, ref))
11441144
with open(self.lib, 'wb') as f:
11451145
with_auth = urlparse(ref)
1146-
f.write(with_auth._repalce(netloc=with_auth.hostname).geturl())
1146+
f.write(with_auth._replace(netloc=with_auth.hostname).geturl())
11471147
f.write("\n")
11481148

11491149
def rm_untracked(self):

0 commit comments

Comments
 (0)