proposed bug fixing of https://sourceforge.net/p/pywikipediabot/bugs/1482/ (archivebot.py)

Change-Id: I20aa6d57c51c230f2adb4408ffc9bcf27f1e6bca
Merge "proposed bug fixing of https://sourceforge.net/p/pywikipediabot/bugs/1482/ (archivebot.py)"