updating pulltraffic info for pulling out

This commit is contained in:
2019-10-13 00:16:06 +01:00
parent b8c926c88f
commit c1b5045815
2 changed files with 3 additions and 3 deletions

View File

@@ -13,5 +13,5 @@ with open(latestFile, 'r') as jsonFile:
listOfFiles.remove(latestFile)
if len(listOfFiles) > 2:
for files in listOfFiles:
os.remove(files)
for files in listOfFiles:
os.remove(files)

View File

@@ -172,7 +172,7 @@ class getTrafficInfo(object):
f'There are currently'
f' {self.incidentCount[i]} reported'
f' {self.incidentTypes[i]} incidents'
f' reported on the {self.motorway}'
f' on the {self.motorway}'
f' :scream:',
use_aliases=True,
)