This commit is contained in:
Minecon724 2024-09-22 14:28:39 +02:00
parent ac64ee249e
commit 3faa1214c5
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -130,7 +130,7 @@ def hash_file(filepath: str) -> str:
def main(): def main():
channel = input('Channel? ({}) '.format(', '.join(list_channels()))) channel = input('Channel? ({}) '.format(', '.join(list_channels())))
if not channel_exists(channel): if channel == '' or not channel_exists(channel):
print(f"Channel {channel} doesn't exist") print(f"Channel {channel} doesn't exist")
return return