Skip to content

Commit 47dee67

Browse files
committed
Fixed filename attribution for gist files
1 parent e97c0cd commit 47dee67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_repo/services/ext/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def load_file(fname, path='.'):
127127
gist_files = dict()
128128
for gist_path in gist_pathes:
129129
if not os.path.isdir(gist_path):
130-
gist_files[gist_path] = load_file(gist_path)
130+
gist_files[os.path.basename(gist_path)] = load_file(gist_path)
131131
else:
132132
for gist_file in os.listdir(gist_path):
133133
if not os.path.isdir(os.path.join(gist_path, gist_file)) and not gist_file.startswith('.'):

0 commit comments

Comments
 (0)