Fixed extra % sign in formatting

This commit is contained in:
Logan Lipke
2020-06-04 14:53:47 -07:00
parent 979b9754c1
commit 194bcb7845

View File

@@ -353,7 +353,7 @@ class StationProfile:
v = int(self.prefix, 10) v = int(self.prefix, 10)
if v > 0: if v > 0:
num += v num += v
template = "sta%0%sd" % wd template = "sta0%sd" % wd
name = template % num name = template % num
#if self.debug: #if self.debug:
# print("XXXXXXXXXXX %s XXXXXXXXXXXXXXX" % name) # print("XXXXXXXXXXX %s XXXXXXXXXXXXXXX" % name)