summaryrefslogtreecommitdiff
path: root/cmds.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmds.py')
-rw-r--r--cmds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds.py b/cmds.py
index 0902194..1147903 100644
--- a/cmds.py
+++ b/cmds.py
@@ -41,7 +41,7 @@ def _run(source, processor_factory, verbose=False, user_map=None, **kwargs):
def _get_source_stream(source):
- if source == '-':
+ if source == '-' or source is None:
import sys
from fastimport import helpers
stream = helpers.binary_stream(sys.stdin)