Fixed some pathlib related issues. eric7

Sat, 02 Jul 2022 17:22:06 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 02 Jul 2022 17:22:06 +0200
branch
eric7
changeset 9199
831e08e94960
parent 9198
93d2cfc8d6aa
child 9201
2f1ccadee231

Fixed some pathlib related issues.

eric7/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric7/QScintilla/Editor.py	Sat Jul 02 11:31:03 2022 +0200
+++ b/eric7/QScintilla/Editor.py	Sat Jul 02 17:22:06 2022 +0200
@@ -3394,8 +3394,10 @@
                 if not res:
                     return ""
         
-        return str(fpath)
-        
+            return str(fpath)
+        
+        return ""
+    
     def saveFileCopy(self, path=None):
         """
         Public method to save a copy of the file.

eric ide

mercurial