Fixed some pathlib related issues. eric7-maintenance

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-maintenance
changeset 9200
709ff2ffed4d
parent 9197
301be1e80ad6
child 9241
d23e9854aea4

Fixed some pathlib related issues.
(grafted from 831e08e94960cbc9325ce31379b00cc111f59f7f)

eric7/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric7/QScintilla/Editor.py	Fri Jul 01 14:38:20 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