forked from distok/cutthecord
branding: bug fixes
This commit is contained in:
parent
e57d1ff8ae
commit
bbd4d43990
3 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ persistdir = "/home/ave/distokrepos/versionlogs/"
|
|||
def counterup():
|
||||
# HACKY
|
||||
cfname = persistdir + fname.split("/")[-1].replace(".patch", "")
|
||||
if os.path.isfile(fname):
|
||||
if os.path.isfile(cfname):
|
||||
with open(cfname, 'r') as file:
|
||||
countdata = file.read()
|
||||
else:
|
||||
|
@ -27,7 +27,7 @@ def counterup():
|
|||
with open(fname, 'r') as file:
|
||||
filedata = file.read()
|
||||
|
||||
buildnum = counterup()
|
||||
buildnum = str(counterup())
|
||||
|
||||
name = "CutTheCord"
|
||||
branch = "base"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue