Log if new input file is downloaded

This commit is contained in:
2018-09-24 20:23:36 +02:00
parent 206917ed6d
commit 93827e9f3b

View File

@@ -179,6 +179,9 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):
os.utime( os.path.join(self.wdir, type(self).zip_file), os.utime( os.path.join(self.wdir, type(self).zip_file),
(datetime.datetime.now().timestamp(), mdate.timestamp()) ) (datetime.datetime.now().timestamp(), mdate.timestamp()) )
# Log
jogobot.output( "New input file downloaded." )
def extract_csv( self ): def extract_csv( self ):
""" """
Extract csv file from zip archive Extract csv file from zip archive