Skip to content

Commit

Permalink
Duplicate slash
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianSW committed Nov 21, 2019
1 parent 72d18fa commit 095df7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitinfo/cache_git_info.py
Expand Up @@ -138,7 +138,7 @@ def git_info_filename(directory, install_path, cache_path):
'xyzzy/info-bar-baz.json'
"""
if ".." in directory:
path = directory.replace('..', '/data/mediawiki', 1)
path = directory.replace('..', 'data/mediawiki', 1)
else:
path = directory
if path.startswith(install_path):
Expand Down

0 comments on commit 095df7e

Please sign in to comment.