This repository was archived by the owner on May 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os
2+ import sys
23from sys import platform
34
45
@@ -30,7 +31,9 @@ def get_path():
3031
3132 if platform == "linux" or platform == "linux2" :
3233 # TODO implement for LINUX platform, just assign the root_path variable
33- root_path = ''
34+ root_path = os .path .expanduser ("~" )
35+ root_path = os .path .join (root_path , ".mozilla" ,
36+ "firefox" )
3437 possible_paths = __find_possible_paths__ (root_path )
3538 return possible_paths
3639 elif platform == "darwin" :
@@ -41,7 +44,7 @@ def get_path():
4144 possible_paths = __find_possible_paths__ (root_path )
4245 return possible_paths
4346 elif platform == "win32" :
44- # TODO implement for LINUX platform, just assign the root_path variable
47+ # TODO implement for windows platform, just assign the root_path variable
4548 root_path = ''
4649 possible_paths = __find_possible_paths__ (root_path )
4750 return possible_paths
You can’t perform that action at this time.
0 commit comments