metodo migliore per trovare la dir dell'addon

This commit is contained in:
mac12m99
2019-08-08 15:01:55 +02:00
parent c8ea6adc94
commit 61b09cd93f

View File

@@ -19,7 +19,7 @@ _hdr_pat = re.compile("^@@ -(\d+),?(\d+)? \+(\d+),?(\d+)? @@.*")
branch = 'master'
user = 'kodiondemand'
repo = 'addon'
addonDir = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..') + '/'
addonDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + '/'
maxPage = 5 # le api restituiscono 30 commit per volta, quindi se si è rimasti troppo indietro c'è bisogno di andare avanti con le pagine
trackingFile = "last_commit.txt"