Fix packager graph paths.

This commit is contained in:
jeefo 2020-11-12 18:40:58 +03:00 committed by GitHub
commit 01c6b1578d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ class BotRelease (object):
def getGraph (self, name): def getGraph (self, name):
file = os.path.join (self.botDir, 'data', 'graph', "{}.graph".format (name)) file = os.path.join (self.botDir, 'data', 'graph', "{}.graph".format (name))
url = "https://yapb.ru/files/graph/{}.graph".format (name); url = "http://graph.yapb.ru/graph/{}.graph".format (name);
if os.path.exists (file): if os.path.exists (file):
return return