Open Lvl4Sword opened 7 months ago
I'll do a commit in a bit, but the fix is
def get_cyberpanel_version():
with open('/usr/local/CyberCP/version.txt') as version:
version_file = version.read().split()
return f"{version_file[0]}.{version_file[1]}"
This seems to be fixed.
This doesn't appear to be completed
@usmannasir What made you believe this was completed?
I can execute cyberpanel version
on my end, you can not ?
Works fine for me also in 2.3.5 - Almalinux 8.9
Describe the bug When trying to run
cyberpanel version
, the following error occurs:To Reproduce What steps did you take when the issue occurred?
cyberpanel version
Expected behavior For there to not be an error
Operating system: Ubuntu 20.04 LTS
CyberPanel version: Version 2.3 / Build: 4 / Current Commit: https://github.com/usmannasir/cyberpanel/commit/c8da443334b8815ec250a0fba606e75355f641cd