Fix bug when using file as input source

11 jobs for v0.3.1 in 9 minutes and 23 seconds (queued for 24 seconds)
latest
Status Job ID Name Coverage
  Build
passed build docs #32742
gui shared-linux

00:00:21

passed build linux installer #32743
gui shared-linux

00:01:53

passed build mac installer #32744
gui shared-mac

00:02:13

passed build windows installer #32745
gui shared-win

00:03:19

 
  Test
failed test Linux #32751
gui shared-linux

00:00:54

passed test macOS #32747
gui shared-mac

00:01:33

passed test Windows #32748
gui shared-win

00:04:20

failed test Linux #32746
gui shared-linux

00:00:57

failed test Linux #32750
shared-linux gui

00:00:54

 
  Deploy
passed deploy pip to PyPI #32752
pip-production manual

00:00:17

canceled deploy pip to PyPI #32749
pip-production allowed to fail manual

 
Name Stage Failure
failed
test Linux Test


--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

___________________________________ summary ____________________________________
ERROR: py36: commands failed
lint: commands succeeded
ERROR: Job failed: exit status 1