summaryrefslogtreecommitdiffstats
path: root/scripts/pastit.py
diff options
context:
space:
mode:
authorVG <vg@devys.org>2014-11-28 21:16:09 +0100
committerVG <vg@devys.org>2014-11-28 21:16:09 +0100
commit20b89a46aeeeea3790fcabd2330ad58c2f9c119b (patch)
treeb51cebb0ab2bc7a74f35928a9a6c198b61ead9a4 /scripts/pastit.py
parent460e2bbb1dd6e2dfd519338c590aec7ab9830ecb (diff)
parente7712e97cacd601fd04b7bfd0b3084d6107a73b2 (diff)
downloadpasteme-20b89a46aeeeea3790fcabd2330ad58c2f9c119b.tar.gz
pasteme-20b89a46aeeeea3790fcabd2330ad58c2f9c119b.tar.bz2
pasteme-20b89a46aeeeea3790fcabd2330ad58c2f9c119b.zip
Merge branch 'dev' of git://0x1707.no-ip.biz/pasteme into dev
Diffstat (limited to 'scripts/pastit.py')
-rwxr-xr-xscripts/pastit.py2
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