21 + # FIXME: Find a way to get the directory name for stoq plugin, 22 + # to avoid hardcoding 'stoq' bellow. 23 + rcfile = os.path.join(plugin.get_user_plugin_path(), 'stoq', 24 + self.RCFILE)
Para esse fixme:
dir_name = os.path.dirname(os.path.abspath(__file__)) rcfile = os.path.join(dir_name, self.RCFILE)
Tirando isso, por mim está bom.
« Back to merge proposal
21 + # FIXME: Find a way to get the directory name for stoq plugin, join(plugin. get_user_ plugin_ path(), 'stoq',
22 + # to avoid hardcoding 'stoq' bellow.
23 + rcfile = os.path.
24 + self.RCFILE)
Para esse fixme:
dir_name = os.path. dirname( os.path. abspath( __file_ _)) join(dir_ name, self.RCFILE)
rcfile = os.path.
Tirando isso, por mim está bom.