Compare commits

...
3 Commits
Author SHA1 Message Date
pancake 7d65172542 lol 2021-06-17 18:09:35 +02:00
pancake 94f25d4132 fxi 2021-06-17 18:00:33 +02:00
pancake 789025229d Fix 'r2 shell -v' 2021-06-17 17:48:51 +02:00
+2 -1
View File
@@ -87,7 +87,8 @@ class R2Env:
@staticmethod
def version():
with open("version.txt", "r") as version:
thispath = os.path.dirname(os.path.realpath(__file__))
with open(thispath + "/version.txt", "r") as version:
return version.read()
def shell(self, cmd=""):