We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e97c0cd commit 47dee67Copy full SHA for 47dee67
git_repo/services/ext/github.py
@@ -127,7 +127,7 @@ def load_file(fname, path='.'):
127
gist_files = dict()
128
for gist_path in gist_pathes:
129
if not os.path.isdir(gist_path):
130
- gist_files[gist_path] = load_file(gist_path)
+ gist_files[os.path.basename(gist_path)] = load_file(gist_path)
131
else:
132
for gist_file in os.listdir(gist_path):
133
if not os.path.isdir(os.path.join(gist_path, gist_file)) and not gist_file.startswith('.'):
0 commit comments