MCPcopy Index your code
hub / github.com/PokemonGoF/PokemonGo-Bot / check_mod

Function check_mod

pokecli.py:312–323  ·  view source on GitHub ↗
(config_file)

Source from the content-addressed store, hash-verified

310
311
312def check_mod(config_file):
313 check_mod.mtime = os.path.getmtime(config_file)
314
315 def compare_mtime():
316 mdate = os.path.getmtime(config_file)
317 if check_mod.mtime == mdate: # mtime didnt change
318 return False
319 else:
320 check_mod.mtime = mdate
321 return True
322
323 return compare_mtime
324
325
326def report_summary(bot):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected