diff options
author | Cédric Picard <cedric.picard@efrei.net> | 2014-11-28 21:10:04 +0100 |
---|---|---|
committer | Cédric Picard <cedric.picard@efrei.net> | 2014-11-28 21:10:04 +0100 |
commit | 08705c698b62c5ea8393a7cff6751659fdcf34f9 (patch) | |
tree | c97480a3dcf01d216d8a4e76c5fabd0ba0004bb6 | |
parent | fc9f8632da09763b54e25861dc6e1798091d0bba (diff) | |
download | pasteme-08705c698b62c5ea8393a7cff6751659fdcf34f9.tar.gz pasteme-08705c698b62c5ea8393a7cff6751659fdcf34f9.tar.bz2 pasteme-08705c698b62c5ea8393a7cff6751659fdcf34f9.zip |
Fixed bug introduced by previous commit
-rwxr-xr-x | scripts/pastit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pastit.py b/scripts/pastit.py index 3a61e19..3527b4f 100755 --- a/scripts/pastit.py +++ b/scripts/pastit.py @@ -50,7 +50,7 @@ def get(url): def main(): args = docopt(__doc__) - if '://' in args["FILE"]: + if args["FILE"] and '://' in args["FILE"]: print(get(args["FILE"])) return |