Skip to content

Commit 6ed8f59

Browse files
authored
Merge pull request #194 from yjg30737/hotfix/all
v1.8.3
2 parents 50e27ce + 5529fce commit 6ed8f59

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyqt-openai"
7-
version = "1.8.2"
7+
version = "1.8.3"
88
description = "Python multipurpose chatbot that user can use GPT, other AI models altogether (Release Name: VividNode)"
99
authors = [{ name = "Jung Gyu Yoon", email = "yjg30737@gmail.com" }]
1010
license = { text = "MIT" }

pyqt_openai/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# For the sake of following the PEP8 standard, we will declare module-level dunder names.
2424
# PEP8 standard about dunder names: https://peps.python.org/pep-0008/#module-level-dunder-names
2525

26-
__version__ = "1.8.2"
26+
__version__ = "1.8.3"
2727
__author__ = "Jung Gyu Yoon"
2828

2929
# Constants

pyqt_openai/chat_widget/left_sidebar/chatNavWidget.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@
1414
QDialog,
1515
)
1616

17-
import pyqt_openai.globals
1817
from pyqt_openai import THREAD_ORDERBY, ICON_ADD, ICON_IMPORT, ICON_SAVE, ICON_REFRESH
19-
from pyqt_openai.chat_widget.left_sidebar.importDialog import ImportDialog
2018
from pyqt_openai.chat_widget.left_sidebar.exportDialog import ExportDialog
19+
from pyqt_openai.chat_widget.left_sidebar.importDialog import ImportDialog
2120
from pyqt_openai.chat_widget.left_sidebar.selectChatImportTypeDialog import SelectChatImportTypeDialog
21+
from pyqt_openai.globals import DB
2222
from pyqt_openai.lang.translations import LangClass
2323
from pyqt_openai.models import ChatThreadContainer
24-
from pyqt_openai.globals import DB
2524
from pyqt_openai.widgets.baseNavWidget import BaseNavWidget
2625
from pyqt_openai.widgets.button import Button
2726

pyqt_openai/chat_widget/left_sidebar/importDialog.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,8 @@ def __setPath(self, path):
150150
if self.__import_type == "general":
151151
self.__path = path
152152
self.__data = json.load(open(path))
153-
# Sort by update_dt
154153
self.__data = sorted(
155-
self.__data, key=lambda x: x[THREAD_ORDERBY], reverse=True
154+
self.__data, key=lambda x: x[THREAD_ORDERBY] or "", reverse=True
156155
)
157156
# Get most recent one
158157
if most_recent_n is not None:
@@ -166,11 +165,6 @@ def __setPath(self, path):
166165
self.__checkBoxTableWidget.setItem(
167166
r_idx, c_idx + 1, QTableWidgetItem(str(v))
168167
)
169-
# for i, d in enumerate(self.__data):
170-
# self.__checkBoxTableWidget.setItem(i, 1, QTableWidgetItem(d['id']))
171-
# self.__checkBoxTableWidget.setItem(i, 2, QTableWidgetItem(d['name']))
172-
# self.__checkBoxTableWidget.setItem(i, 3, QTableWidgetItem(d['insert_dt']))
173-
# self.__checkBoxTableWidget.setItem(i, 4, QTableWidgetItem(d['update_dt']))
174168
elif self.__import_type == "chatgpt":
175169
result_dict = get_chatgpt_data_for_preview(path, most_recent_n)
176170
columns = result_dict["columns"]

version_info.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#
66
VSVersionInfo(
77
ffi=FixedFileInfo(
8-
filevers=(1, 8, 2),
9-
prodvers=(1, 8, 2),
8+
filevers=(1, 8, 3),
9+
prodvers=(1, 8, 3),
1010
mask=0x3f,
1111
flags=0x0,
1212
OS=0x4,
@@ -19,10 +19,10 @@ VSVersionInfo(
1919
[
2020
StringTable(
2121
u'040904B0',
22-
[StringStruct(u'FileVersion', u'1.8.2'),
22+
[StringStruct(u'FileVersion', u'1.8.3'),
2323
StringStruct(u'ProductName', u'VividNode'),
2424
StringStruct(u'LegalCopyright', u'Copyright © 2024 Jung Gyu Yoon'),
25-
StringStruct(u'ProductVersion', u'1.8.2')])
25+
StringStruct(u'ProductVersion', u'1.8.3')])
2626
]),
2727
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
2828
]

0 commit comments

Comments
 (0)