Skip to content

Commit

Permalink
fixed import error
Browse files Browse the repository at this point in the history
  • Loading branch information
notconfusing committed Sep 13, 2012
1 parent 89056ba commit 9526490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions viafbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# importing modules
# requires that pywikipediabot modules be in your PYTHONPATH
import wikipedia
import exceptions
import textlib
import pywikibot.exceptions as exceptions
import pywikibot.textlib as textlib
import add_text_customised#for method writeEntireTemplate
#if using writeVIAFparamOnly not writeVIAFparamOnly2:
from time import gmtime, strftime #for timestamping
Expand All @@ -15,7 +15,7 @@
enwp = wikipedia.getSite('en','wikipedia')
dewp = wikipedia.getSite('de','wikipedia')
#files
wikilinksfile = open("userspacetest.out")#should be wikilinksforbot.out when real
wikilinksfile = open("35linksfortrial.out")#should be wikilinksforbot.out when real
wikilinks = wikilinksfile.readlines()
viafbotrun = open("viafbotrun.log", 'w+')
NoDEWPlog = open("NoDEWP.log", 'w+')
Expand Down

0 comments on commit 9526490

Please sign in to comment.