Browse Source

Fix xdg-open syntax for files (without " as in Windows/Mac)

bernhardbuhl 3 years ago
parent
commit
b4f9b3b065
1 changed files with 0 additions and 1 deletions
  1. 0 1
      baangt/base/FilesOpen.py

+ 0 - 1
baangt/base/FilesOpen.py

@@ -39,7 +39,6 @@ def open(filenameAndPath: str):
                 return False
 
     elif platform.system().lower() == GC.PLATFORM_LINUX:
-        filenameAndPath = f'"{filenameAndPath}"'
         logger.debug(f"In Linux trying to call xdg-open with filename: {str(filenameAndPath)}")
         status = subprocess.call(["xdg-open", str(filenameAndPath)])
         if status == 0: