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 ebcd0c9 commit 16a2b56Copy full SHA for 16a2b56
setup.py
@@ -45,8 +45,8 @@ def run (self):
45
replace_me = os.path.join(self.install_data,'share/qtarot')
46
elif self.prefix:
47
replace_me = os.path.join(self.prefix,'share/qtarot')
48
- if self.root.endswidth('/'):
49
- consts = [['DATA_DIR', replace_me.replace(self.root[:-1],'')]]
+ if self.root[-1] == '/':
+ consts = [['DATA_DIR', replace_me.replace(self.root[:-2],'')]]
50
else:
51
consts = [['DATA_DIR', replace_me.replace(self.root,'')]]
52
script = open(f, 'w', encoding='utf-8')
0 commit comments