You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tkMessageBox.showerror("Error", "There is a task in progress. Please, wait.")
214
+
messagebox.showerror("Error", "There is a task in progress. Please, wait.")
217
215
218
216
defcheckURL(self):
219
217
ifre.search(ur"(?im)^https?://[^/]+\.[^/]+/", self.entry11.get()): #well-constructed URL?, one dot at least, aaaaa.com, but bb.aaaaa.com is allowed too
@@ -234,7 +232,7 @@ def checkURL(self):
234
232
self.entry11.config(background='red')
235
233
self.msg('index.php is incorrect!', level='error')
236
234
else:
237
-
tkMessageBox.showerror("Error", "You have to write a correct api.php or index.php URL.")
235
+
messagebox.showerror("Error", "You have to write a correct api.php or index.php URL.")
# You can also issue this on your working directory to find all incomplete dumps:
@@ -108,7 +108,7 @@ def main():
108
108
iffinished:
109
109
time.sleep(1)
110
110
os.chdir(wikidir)
111
-
print'Changed directory to', os.getcwd()
111
+
print('Changed directory to', os.getcwd())
112
112
# Basic integrity check for the xml. The script doesn't actually do anything, so you should check if it's broken. Nothing can be done anyway, but redownloading.
# Make a non-solid archive with all the text and metadata at default compression. You can also add config.txt if you don't care about your computer and user names being published or you don't use full paths so that they're not stored in it.
@@ -123,7 +123,7 @@ def main():
123
123
subprocess.call('7z'+' a -ms=off -mx=1 ../%s-wikidump.7z.tmp %s-images.txt images/'% (prefix, prefix), shell=True)
0 commit comments