Log if new input file is downloaded
This commit is contained in:
@@ -179,6 +179,9 @@ class EuroExangeBot( pywikibot.bot.BaseBot ):
|
||||
os.utime( os.path.join(self.wdir, type(self).zip_file),
|
||||
(datetime.datetime.now().timestamp(), mdate.timestamp()) )
|
||||
|
||||
# Log
|
||||
jogobot.output( "New input file downloaded." )
|
||||
|
||||
def extract_csv( self ):
|
||||
"""
|
||||
Extract csv file from zip archive
|
||||
|
||||
Reference in New Issue
Block a user