diff options
-rw-r--r-- | fit.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -98,11 +98,10 @@ class Fit: parents ) - oid_hex = b2a_hex(blob_oid).decode('ascii') with open('static/fit.git/info/refs', 'w') as f: - f.write('%s\trefs/heads/master' % oid_hex) + f.write('%s\trefs/heads/master' % b2a_hex(blob_oid).decode('ascii')) - return oid_hex + return b2a_hex(blob_oid).decode('ascii') def get_file(self, oid): |