1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-02 06:46:24 -07:00

Remove unnecessary fingerprint fmt.Println call,

This commit is contained in:
Eggbertx 2024-03-05 21:17:48 -08:00
parent 4c5a0a1dd3
commit 852dc8dc09
2 changed files with 2 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class TestPosting(SeleniumTestCase):
# fill out the board creation form
self.driver.find_element(by=By.NAME, value="dir").send_keys("test2")
self.driver.find_element(by=By.NAME, value="title").send_keys("Testing board #2")
self.driver.find_element(by=By.NAME, value="title").send_keys("Testing board 2")
self.driver.find_element(by=By.NAME, value="subtitle").send_keys("Board for testing thread moving")
self.driver.find_element(by=By.NAME, value="description").send_keys("Board for testing thread moving")
self.driver.find_element(by=By.NAME, value="docreate").click()
@ -85,7 +85,7 @@ class TestPosting(SeleniumTestCase):
self.driver.find_element(
by=By.CSS_SELECTOR,
value="h1#board-title").text,
"/test2/ - Testing board #2",
"/test2/ - Testing board 2",
"Verify that we properly moved the thread to /test2/")
form = self.driver.find_element(by=By.CSS_SELECTOR, value="form#postform")

View file

@ -42,7 +42,6 @@ func checkImageFingerprintBan(img image.Image, _ string) (*gcsql.FileBan, error)
if err != nil {
return nil, err
}
fmt.Printf("fingerprint: %x\n", ba)
const query = `SELECT id,board_id,staff_id,staff_note,issued_at,checksum,fingerprinter,
ban_ip,ban_ip_message
FROM DBPREFIXfile_ban WHERE fingerprinter = 'ahash' AND checksum = ? LIMIT 1`