Fix double dot

This commit is contained in:
Maximilian Gerhardt authored and GitHub committed 2022-05-16 14:23:30 +02:00
1 parent ddcb4a395d
commit e1204e62e0
1 file changed
+1 -1
+1 -1
View File
@@ -281,7 +281,7 @@ upload_source = target_firm
def UploadUF2ToDisk(target, source, env): def UploadUF2ToDisk(target, source, env):
assert "UPLOAD_PORT" in env assert "UPLOAD_PORT" in env
progname = env.subst("$PROGNAME") progname = env.subst("$PROGNAME")
ext = ".uf2" ext = "uf2"
fpath = join(env.subst("$BUILD_DIR"), "%s.%s" % (progname, ext)) fpath = join(env.subst("$BUILD_DIR"), "%s.%s" % (progname, ext))
if not isfile(fpath): if not isfile(fpath):
print( print(