Skip to content

Commit

Permalink
For the linter
Browse files Browse the repository at this point in the history
Issue #252
  • Loading branch information
damies13 committed Oct 27, 2024
1 parent a1ad942 commit 76e1b69
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions rfswarm_reporter/rfswarm_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
import time
import tkinter as tk # python3
import tkinter.colorchooser as tkac
import tkinter.messagebox as tkm # python3
import tkinter.filedialog as tkf # python3
import tkinter.font as tkFont

# import tkinter.messagebox as tkm # python3
import tkinter.simpledialog as tksd
import tkinter.ttk as ttk # python3
import webbrowser
import zoneinfo # says Requires python 3.9
from copy import copy # used for xlsx export
from datetime import datetime # , timezone
Expand All @@ -43,7 +43,6 @@
import matplotlib.font_manager as font_manager
import openpyxl # used for xlsx export
import tzlocal
import webbrowser
from docx import Document # used for docx export
from docx.enum.style import WD_STYLE_TYPE # used for docx export
from docx.enum.text import WD_ALIGN_PARAGRAPH # used for docx export
Expand Down Expand Up @@ -7821,25 +7820,17 @@ def dispaly_donation_reminder(self):
titlemsg = "RFSwarm Reporter - Donation Reminder"

donatemsg = "RFSwarm's mission is to give you a an industry leading performance test tool, that is easy to use, "
# donatemsg += "\n"
donatemsg += "quick to develop test scripts and free from limitations so that you can just get on with testing."
donatemsg += "\n\n"
donatemsg += "Accomplishing this mission costs us resources, and requires the time of many talented people to fix "
# donatemsg += "\n"
donatemsg += "bugs and develop new features and generally improve RFSwarm."
donatemsg += "\n\n"
donatemsg += "RFSwarm is proud to be a completely open source application that is 100% community funded and "
# donatemsg += "\n"
donatemsg += "does not harvest and sell your data in any way."
donatemsg += "\n\n"
donatemsg += "So today we're asking for you help to make RFSwarm better, please consider giving a donation "
# donatemsg += "\n"
donatemsg += "to support RFSwarm."

# tkm.showinfo(titlemsg, donatemsg)


# self.drWindow = tk.Toplevel(self.root, height=200, width=600)
self.drWindow = tk.Toplevel(self.root)
self.drWindow.wm_iconphoto(False, self.icon)
self.drWindow.columnconfigure(0, weight=1)
Expand All @@ -7861,9 +7852,7 @@ def dispaly_donation_reminder(self):

row += 1
self.drWindow.lblDR11 = ttk.Label(self.drWindow, text=donatemsg, wraplength=600)
# self.drWindow.lblDR11 = ttk.Label(self.drWindow, text=donatemsg)
self.drWindow.lblDR11.grid(column=1, row=row, sticky="nsew")
# self.drWindow.lblDR11.bind('<Configure>', lambda e: self.drWindow.lblDR11.config(wraplength=self.drWindow.lblDR11.winfo_width()))

row += 1
self.drWindow.rowconfigure(row, weight=1)
Expand All @@ -7877,7 +7866,6 @@ def dispaly_donation_reminder(self):

self.drWindow.fmeBBar.columnconfigure(0, weight=1)


self.drWindow.bind('<Return>', self.close_donation_reminder)
self.drWindow.bind('<Key-Escape>', self.drWindow.destroy)

Expand Down

0 comments on commit 76e1b69

Please sign in to comment.