mirror of
https://github.com/radareorg/r2env.git
synced 2026-11-07 20:39:12 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d65172542 | ||
|
|
94f25d4132 | ||
|
|
789025229d |
+2
-1
@@ -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=""):
|
||||
|
||||
Reference in new issue
Block a user