From 0d8269deb874ba8875175d99b1530e07f68d0f96 Mon Sep 17 00:00:00 2001
From: Abhishek Kadian <abhishekkadiyan@gmail.com>
Date: Thu, 25 Apr 2019 20:29:12 -0700
Subject: [PATCH] Fix docstring (#73)

---
 habitat/tasks/nav/nav_task.py | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/habitat/tasks/nav/nav_task.py b/habitat/tasks/nav/nav_task.py
index 2498939ff..e1b19731f 100644
--- a/habitat/tasks/nav/nav_task.py
+++ b/habitat/tasks/nav/nav_task.py
@@ -282,12 +282,12 @@ class StaticPointGoalSensor(habitat.Sensor):
 
 class HeadingSensor(habitat.Sensor):
     """
-       Sensor for observing the agent's heading in the global coordinate frame.
+    Sensor for observing the agent's heading in the global coordinate frame.
 
-       Args:
-           sim: reference to the simulator for calculating task observations.
-           config: config for the sensor.
-       """
+    Args:
+        sim: reference to the simulator for calculating task observations.
+        config: config for the sensor.
+    """
 
     def __init__(self, sim: Simulator, config: Config):
         self._sim = sim
@@ -318,12 +318,12 @@ class HeadingSensor(habitat.Sensor):
 
 class ProximitySensor(habitat.Sensor):
     """
-       Sensor for observing the distance to the closest obstacle
+    Sensor for observing the distance to the closest obstacle
 
-       Args:
-           sim: reference to the simulator for calculating task observations.
-           config: config for the sensor.
-       """
+    Args:
+        sim: reference to the simulator for calculating task observations.
+        config: config for the sensor.
+    """
 
     def __init__(self, sim, config):
         self._sim = sim
-- 
GitLab