We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b710d9 commit a0d1f82Copy full SHA for a0d1f82
1 file changed
GithubStat/__init__.py
@@ -54,7 +54,7 @@
54
55
[-] Github URL : https://github.com/%s
56
[-] Repositories : https://github.com/%s/repositories
57
-[-] Avaar : %s
+[-] Avatar : %s
58
"""
59
60
def status(user):
@@ -120,10 +120,12 @@ def stats(user):
120
print('')
121
122
if save_repo == "y" or save_repo == "Y":
123
- with open('%s.csv' % (user),'w', newline='', encoding='utf-8') as f:
124
- output=csv.writer(f)
+ with open("%s.csv" % (user), "w") as f:
+ output=csv.writer(f, lineterminator='\n')
125
output.writerow(['Repository Name','Total Stars','Total Forks','Clone URL'])
126
- for w in stats: output.writerow(w)
+ for row in stats:
127
+ output.writerow(row)
128
+
129
print("[-] File Saved as : %s.csv" % (user))
130
131
else:
0 commit comments