if sys.platform.startswith('win'): # On windows look in ~/flexget/plugins as well, as explorer does not let you create a folder starting with a dot paths.append(os.path.join(os.path.expanduser('~'), 'flexget','plugins'))