mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pamhyr: Fix Pep8.
This commit is contained in:
1 parent
da18a8b712
commit
db416d25de
2 files changed
+2
-1
No files matched your search
@@ -135,7 +135,7 @@ All right reserved.
|
||||
date.toggled.connect(self.set_date)
|
||||
|
||||
md_edit = self.find(QPlainTextEdit, "plainTextEdit_description")
|
||||
#md_previou = self.find(QTextBrowser, "textBrowser_description")
|
||||
# md_preview = self.find(QTextBrowser, "textBrowser_description")
|
||||
md_edit.textChanged.connect(
|
||||
lambda: self.set_text_edit_text(
|
||||
"textBrowser_description",
|
||||
|
||||
@@ -271,6 +271,7 @@ def timestamp_to_old_pamhyr_date(time: int):
|
||||
|
||||
return s
|
||||
|
||||
|
||||
def get_user_name():
|
||||
if posix:
|
||||
return pwd.getpwuid(os.getuid()).pw_gecos
|
||||
|
||||
Reference in new issue
Block a user