mirror of https://github.com/sloumdrone/burrow
Removed unused imports
This commit is contained in:
parent
bf18a74b25
commit
278a17974d
12
gui.py
12
gui.py
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
from tkinter import simpledialog as sdb
|
|
||||||
from connect import connect as conn
|
from connect import connect as conn
|
||||||
from parser import parser
|
from parser import parser
|
||||||
import time
|
import time
|
||||||
|
@ -11,7 +10,6 @@ import os.path
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from PIL import Image, ImageTk
|
from PIL import Image, ImageTk
|
||||||
import webbrowser as wb
|
import webbrowser as wb
|
||||||
from urllib import parse as url_encode
|
|
||||||
|
|
||||||
class GUI:
|
class GUI:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -180,16 +178,6 @@ class GUI:
|
||||||
|
|
||||||
|
|
||||||
def execute_address(self, url):
|
def execute_address(self, url):
|
||||||
# if parsed_url['type'] == '7':
|
|
||||||
# # self.send_to_screen(parsed_url, parsed_url['type'])
|
|
||||||
# terms = sdb.askstring('Search','Please enter your search terms...')
|
|
||||||
# print(terms)
|
|
||||||
# if terms:
|
|
||||||
# self.parser.resource = "{}\t{}".format(self.parser.resource,terms)
|
|
||||||
# print(self.parser.resource)
|
|
||||||
# else:
|
|
||||||
# return False
|
|
||||||
|
|
||||||
response = self.conn.request(url['resource'], url['host'], url['type'], url['port'])
|
response = self.conn.request(url['resource'], url['host'], url['type'], url['port'])
|
||||||
|
|
||||||
if not response:
|
if not response:
|
||||||
|
|
Loading…
Reference in New Issue