Define city variable

main
Bob Mottram 2021-07-19 21:07:28 +01:00
parent 8b5093eef4
commit a07d301583
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ def getSpoofedCity(city: str, baseDir: str, nickname: str, domain: str) -> str:
"""Returns the name of the city to use as a GPS spoofing location for """Returns the name of the city to use as a GPS spoofing location for
image metadata image metadata
""" """
city = ''
cityFilename = acctDir(baseDir, nickname, domain) + '/city.txt' cityFilename = acctDir(baseDir, nickname, domain) + '/city.txt'
if os.path.isfile(cityFilename): if os.path.isfile(cityFilename):
with open(cityFilename, 'r') as fp: with open(cityFilename, 'r') as fp: