:meth:`.WNetworkClientProto.remove_directory` method implementation

def remove_directory(self, directory_name, *args, **kwargs):
		""" :meth:`.WNetworkClientProto.remove_directory` method implementation
		"""
		previous_path = self.session_path()
		try:
			self.session_path(directory_name)
			os.rmdir(self.full_path())
		finally:
			self.session_path(previous_path)