title: First file path value not added into array on linux ubuntu
body: <p>Running a python script on linux</p>
  
  <pre><code>pngs = []
  
  for idx, device in enumerate(udid):
      pngs += glob.glob(os.getcwd() + "/logs/" + device + "_" + get_model_of_android_phone(device) + "/" + "*.png")
  
      print(glob.glob(os.getcwd() + "/logs/" + device + "_" + get_model_of_android_phone(device) + "/" + "*.png"))
  </code></pre>
  
  <p>The for loop will run twice and 2 pngs will be added into the array. 
  However, only the 2nd one was added into the array.</p>
  
  <p>Not too sure why the first one is missing from the array. </p>
  
  <p>When i try to print the entire path, the entire path is showing.</p>
  
  <p>Example of the file path</p>
  
  <pre><code>['/home/ubuntu/logs/123456789_SM-G920I/123456789google_search_android.png']
  </code></pre>