Skip to content

Commit

Permalink
'\' char messing with directory string creation on windows
Browse files Browse the repository at this point in the history
With the back slash, the 'directory' var is wrongly initialized to 'C:\FileZilla'.
Tested under windows 7 and windows 10
  • Loading branch information
smandon committed Dec 28, 2017
1 parent 3d42851 commit 38ca1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Windows/lazagne/softwares/sysadmin/filezilla.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):
ModuleInfo.__init__(self, 'filezilla', 'sysadmin', options, need_to_be_in_env=False)

def run(self, software_name = None):
directory = os.path.join(constant.profile['APPDATA'], u'\FileZilla')
directory = os.path.join(constant.profile['APPDATA'], u'FileZilla')

interesting_xml_file = []
info_xml_file = []
Expand Down

0 comments on commit 38ca1f5

Please sign in to comment.