1
0
mirror of https://github.com/Melon-Bread/EagleJab synced 2024-11-28 13:58:20 -05:00

Switched out confirmation popup to use tk

This commit is contained in:
Rain Clark 2015-05-01 16:44:31 -04:00
parent f635c5bf0b
commit cd655cf1d3

3
FalconPunch.py Normal file → Executable file
View File

@ -1,5 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
import os, argparse, socket, sys, struct, easygui import os, argparse, socket, sys, struct, easygui
import tkinter.messagebox
# New & improved args parsing # New & improved args parsing
parser = argparse.ArgumentParser(description='Sends .CIA files to the 3DS via FBI') parser = argparse.ArgumentParser(description='Sends .CIA files to the 3DS via FBI')
@ -39,7 +40,7 @@ while True:
if args.cia and args.ip: if args.cia and args.ip:
print(confirmation) print(confirmation)
else: else:
easygui.msgbox(confirmation, "FalconPunch") tkinter.messagebox.showinfo("Falcon Punch", confirmation)
break # EOF break # EOF
sock.sendall(chunk) sock.sendall(chunk)