Closed ashleybot closed 9 years ago
I tried to add a gist from an untitled file.
It's caused by this Line 18: filename = self.view.file_name().split('/')[-1] AttributeError: 'NoneType' object has no attribute 'split'
I'm thinking we should prompt the user for a filename, or to save, or something...
Or if there is no filename then just grab the first 50 characters of the file (similar to how Sublime Text handles untitled files).
I tried to add a gist from an untitled file.
It's caused by this Line 18: filename = self.view.file_name().split('/')[-1] AttributeError: 'NoneType' object has no attribute 'split'
I'm thinking we should prompt the user for a filename, or to save, or something...