Skip to content

Commit

Permalink
Fixed stylistic errors
Browse files Browse the repository at this point in the history
  • Loading branch information
limafresh committed Oct 19, 2024
1 parent 6db1f22 commit 5c532ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyqulator"
version = "1.4.2"
version = "1.4.3"
dependencies = [
"PyQt6>=6.4.2",
"sympy>=1.13.3",
Expand Down
6 changes: 3 additions & 3 deletions src/pyqulator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def save_journal(self):
with open(file_path, "w") as file:
for i in range(self.ui.journal.count()):
item = self.ui.journal.item(i).text()
file.write(item + '\n')
file.write(item + "\n")

# Unit converter functions
def convert_length(self):
Expand Down Expand Up @@ -481,13 +481,13 @@ def line_down(self):
def show_about_program(self):
self.about_msg = QMessageBox()
self.about_msg.setWindowTitle("About pyqulator")
msg_text = '''
msg_text = """
pyqulator is a calculator written
in Python and PyQt 6.
Uses library: sympy.
Licensed under GNU GPL v3.
(c) limafresh, 2024
'''
"""
self.about_msg.setText(msg_text)
icon = QIcon.fromTheme(u"accessories-calculator")
self.about_msg.setIconPixmap(icon.pixmap(32, 32))
Expand Down

0 comments on commit 5c532ee

Please sign in to comment.