Show More
@@ -119,7 +119,7 b' def _run(argv):' | |||
|
119 | 119 | if gist_content and '\0' in gist_content: |
|
120 | 120 | raise Exception('Error: binary files upload is not possible') |
|
121 | 121 | |
|
122 | filename = args.filename or filename | |
|
122 | filename = os.path.basename(args.filename or filename) | |
|
123 | 123 | if gist_content: |
|
124 | 124 | files = { |
|
125 | 125 | filename: { |
General Comments 0
You need to be logged in to leave comments.
Login now